Difference between revisions of "Template:Date"

From Timelines
Jump to: navigation, search
(choose between mdf and dmy)
Line 5: Line 5:
 
   |{{{1|}}}
 
   |{{{1|}}}
 
   |{{ #ifeq:{{{2| }}}|n
 
   |{{ #ifeq:{{{2| }}}|n
   |{{ #time:j F Y|{{{1}}} }}  
+
   |{{ #ifeq:{{{3| }}}|mdy
   |[[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]]}} }} }}<span style="display:none">(<span class="bday">{{{1}}}</span>)</span>
+
    |{{ #time:F j, Y|{{{1}}} }}
 +
    |{{ #time:j F Y|{{{1}}} }} }}
 +
   |{{ #ifeq:{{{3| }}}|mdy
 +
    |[[{{ #time:F j|{{{1}}} }}]], [[{{ #time:Y|{{{1}}} }}]]
 +
    |[[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]]}} }} }} }}<span style="display:none">(<span class="bday">{{{1}}}</span>)</span>
 
|{{{1}}}}}</includeonly><noinclude>
 
|{{{1}}}}}</includeonly><noinclude>
  
Line 14: Line 18:
  
 
{{evd|ISOtodmymdy|2007-01-24}}
 
{{evd|ISOtodmymdy|2007-01-24}}
 +
{{evd|ISOtodmymdy|2007-01-24|y|mdy}}
  
 
{{evd|ISOtodmymdy|2006-05-04|n}}
 
{{evd|ISOtodmymdy|2006-05-04|n}}
 +
{{evd|ISOtodmymdy|2006-05-04|n|mdy}}
  
 
{{evd|ISOtodmymdy|2006-5-4|n}}
 
{{evd|ISOtodmymdy|2006-5-4|n}}
 +
{{evd|ISOtodmymdy|2006-5-4|n|mdy}}
  
 
{{evd|ISOtodmymdy|2006-5-04|n}}
 
{{evd|ISOtodmymdy|2006-5-04|n}}
 +
{{evd|ISOtodmymdy|2006-5-04|n|mdy}}
  
 
{{evd|ISOtodmymdy|2006-05-4|n}}
 
{{evd|ISOtodmymdy|2006-05-4|n}}
 +
{{evd|ISOtodmymdy|2006-05-4|n|mdy}}
  
 
{{evd|ISOtodmymdy|May 4th, 2006|n}}
 
{{evd|ISOtodmymdy|May 4th, 2006|n}}
 +
{{evd|ISOtodmymdy|May 4th, 2006|n|mdy}}
  
 
===Date strings #time function doesn't interpretes returns only the string ===
 
===Date strings #time function doesn't interpretes returns only the string ===

Revision as of 08:01, 10 November 2008


Usage

Template:Evd Template:Evd

Template:Evd Template:Evd

Template:Evd Template:Evd

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