Difference between revisions of "Template:Date"

From Timelines
Jump to: navigation, search
(Usage: tra)
(Usage: gives)
Line 45: Line 45:
  
  
{{evd|ISOtodmymdy|1901-12-13}}, <nowiki>{{#time:c|1901-12-13}}</nowiki> gir {{#time:c|1901-12-13}}
+
{{evd|ISOtodmymdy|1901-12-13}}, <nowiki>{{#time:c|1901-12-13}}</nowiki> gives {{#time:c|1901-12-13}}
  
{{evd|ISOtodmymdy|1901-12-14}}, <nowiki>{{#time:c|1901-12-14}}</nowiki> gir {{#time:c|1901-12-14}} (#time er riv ruskende gal, justert for i mal for alle disse tilfellene)
+
{{evd|ISOtodmymdy|1901-12-14}}, <nowiki>{{#time:c|1901-12-14}}</nowiki> gives {{#time:c|1901-12-14}} (#time er riv ruskende gal, justert for i mal for alle disse tilfellene)
  
{{evd|ISOtodmymdy|1970-01-01}}, <nowiki>{{#time:c|1970-01-01}}</nowiki> gir {{#time:c|1970-01-01}}
+
{{evd|ISOtodmymdy|1970-01-01}}, <nowiki>{{#time:c|1970-01-01}}</nowiki> gives {{#time:c|1970-01-01}}
  
{{evd|ISOtodmymdy|1970-01-02}} (riktig, første dato innenfor), <nowiki>{{#time:c|1970-01-02}}</nowiki> gir {{#time:c|1970-01-02}}
+
{{evd|ISOtodmymdy|1970-01-02}} (riktig, første dato innenfor), <nowiki>{{#time:c|1970-01-02}}</nowiki> gives {{#time:c|1970-01-02}}
  
{{evd|ISOtodmymdy|2038-01-19}} (riktig, siste dato innenfor), <nowiki>{{#time:c|2038-01-19}}</nowiki> gir {{#time:c|2038-01-19}}
+
{{evd|ISOtodmymdy|2038-01-19}} (riktig, siste dato innenfor), <nowiki>{{#time:c|2038-01-19}}</nowiki> gives {{#time:c|2038-01-19}}
  
{{evd|ISOtodmymdy|2038-01-20}}, <nowiki>{{#time:c|2038-01-20}}</nowiki> gir {{#time:c|2038-01-20}}
+
{{evd|ISOtodmymdy|2038-01-20}}, <nowiki>{{#time:c|2038-01-20}}</nowiki> gives {{#time:c|2038-01-20}}
  
 
[[Category:Date templates]]
 
[[Category:Date templates]]

Revision as of 07:46, 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.

Template:Evd

Template:Evd

Template:Evd

Template:Evd

Template:Evd

Template:Evd

Date strings #time function doesn't interpretes returns only the string

Template:Evd

Template:Evd

Template:Evd

Template:Evd

Template:Evd


Template:Evd BUG

Template:Evd BUG

outside the #time functions limits


Template:Evd, {{#time:c|1901-12-13}} gives 1901-12-13T00:00:00+00:00

Template:Evd, {{#time:c|1901-12-14}} gives 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}} gives 1970-01-01T00:00:00+00:00

Template:Evd (riktig, første dato innenfor), {{#time:c|1970-01-02}} gives 1970-01-02T00:00:00+00:00

Template:Evd (riktig, siste dato innenfor), {{#time:c|2038-01-19}} gives 2038-01-19T00:00:00+00:00

Template:Evd, {{#time:c|2038-01-20}} gives 2038-01-20T00:00:00+00:00no:Mal:ISOtilNorskdato