Difference between revisions of "Template:Date"
From Timelines
(english format) |
(translated) |
||
Line 10: | Line 10: | ||
==Usage== | ==Usage== | ||
− | *Parameter 1 | + | *Parameter 1 is the date given on [[ISO 8601]] formate ''YYYY-MM-DD'' ([[:meta:ParserFunctions#.23time:|#time]]). The template shows the date on the format ''D MMMM YYYY'' which is one of the [[de facto]] standards on english Wikipedia, see [[Wikipedia:...]]. |
− | *Parameter 2 | + | *Parameter 2 set it to n if the date should not be wikified. |
{{evd|ISOtodmymdy|2007-01-24}} | {{evd|ISOtodmymdy|2007-01-24}} | ||
Line 25: | Line 25: | ||
{{evd|ISOtodmymdy|May 4th, 2006|n}} | {{evd|ISOtodmymdy|May 4th, 2006|n}} | ||
− | === | + | ===Date strings #time function doesn't interpretes returns only the string === |
{{evd|ISOtodmymdy|23007-031-24}} | {{evd|ISOtodmymdy|23007-031-24}} | ||
Line 42: | Line 42: | ||
{{evd|ISOtodmymdy|24. juni 2006|n}} BUG | {{evd|ISOtodmymdy|24. juni 2006|n}} BUG | ||
− | ; | + | ;outside the [[:meta:ParserFunctions#.23time:|#time]] functions limits |
Revision as of 07:44, 10 November 2008
Usage
- Parameter 1 is the date given on ISO 8601 formate YYYY-MM-DD (#time). The template shows the date on the format D MMMM YYYY which is one of the de facto standards on english Wikipedia, see Wikipedia:....
- Parameter 2 set it to n if the date should not be wikified.
Date strings #time function doesn't interpretes returns only the string
Template:Evd BUG
Template:Evd BUG
- outside the #time functions limits
Template:Evd, {{#time:c|1901-12-13}} gir 1901-12-13T00:00:00+00:00
Template:Evd, {{#time:c|1901-12-14}} gir 1901-12-14T00:00:00+00:00 (#time er riv ruskende gal, justert for i mal for alle disse tilfellene)
Template:Evd, {{#time:c|1970-01-01}} gir 1970-01-01T00:00:00+00:00
Template:Evd (riktig, første dato innenfor), {{#time:c|1970-01-02}} gir 1970-01-02T00:00:00+00:00
Template:Evd (riktig, siste dato innenfor), {{#time:c|2038-01-19}} gir 2038-01-19T00:00:00+00:00
Template:Evd, {{#time:c|2038-01-20}} gir 2038-01-20T00:00:00+00:00no:Mal:ISOtilNorskdato