mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
parent
4b9bc1b766
commit
0285eb600e
@ -1,10 +1,10 @@
|
|||||||
created: 20140418142957325
|
created: 20140418142957325
|
||||||
modified: 20170630223008226
|
modified: 20180730201626985
|
||||||
tags: Features
|
tags: Features
|
||||||
title: DateFormat
|
title: DateFormat
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
The ViewWidget accepts a `template` attribute that allows the format of date values to be specified. The format string is processed with the following substitutions:
|
When used to display date values (with the `format` attribute set to ''date''), the ViewWidget accepts a `template` attribute that allows the format of the date values to be specified. The format string is processed with the following substitutions:
|
||||||
|
|
||||||
|!Token |!Substituted Value |
|
|!Token |!Substituted Value |
|
||||||
|`DDD` |Day of week in full (eg, "Monday") |
|
|`DDD` |Day of week in full (eg, "Monday") |
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
caption: view
|
caption: view
|
||||||
created: 20131024141900000
|
created: 20131024141900000
|
||||||
modified: 20170824195528248
|
modified: 20180730201626985
|
||||||
tags: Widgets
|
tags: Widgets
|
||||||
title: ViewWidget
|
title: ViewWidget
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -18,7 +18,7 @@ The content of the `<$view>` widget is displayed if the field or property is mis
|
|||||||
|field |The name of the field to view (defaults to "text") |
|
|field |The name of the field to view (defaults to "text") |
|
||||||
|index |The name of the index to view |
|
|index |The name of the index to view |
|
||||||
|format |The format for displaying the field (see below) |
|
|format |The format for displaying the field (see below) |
|
||||||
|template |Optional template string used with certain formats such as dates |
|
|template |Optional template string used when the `format` attribute is set to "date" |
|
||||||
|subtiddler |Optional SubTiddler title when the target tiddler is a [[plugin|Plugins]] (see below) |
|
|subtiddler |Optional SubTiddler title when the target tiddler is a [[plugin|Plugins]] (see below) |
|
||||||
|mode |<<.from-version "5.1.15">> Optional transclusion parsing mode for wikified formats. May be "inline" or "block" (the default) |
|
|mode |<<.from-version "5.1.15">> Optional transclusion parsing mode for wikified formats. May be "inline" or "block" (the default) |
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user