Difference between revisions of "User:Tjtrumpet2323/sandbox"

From Geohashing
imported>Tjtrumpet2323
(MediaWiki Implementation Tests)
imported>Tjtrumpet2323
(MediaWiki Implementation Tests)
Line 6: Line 6:
 
! Code !! Output
 
! Code !! Output
 
|-
 
|-
| <nowiki>{{#vardefine: date|2008-07-01}}</nowiki>
+
| <nowiki>{{#vardefine: date|2008-06-02}}</nowiki>
| {{#vardefine: date|2008-07-01}}
+
| {{#vardefine: date|2008-06-02}}
 
|-
 
|-
 
| <nowiki>{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}}</nowiki>
 
| <nowiki>{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}}</nowiki>
Line 45: Line 45:
 
| <nowiki>{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2|1}}</nowiki>
 
| <nowiki>{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2|1}}</nowiki>
 
| {{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2|1}}
 
| {{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2|1}}
 +
|-
 +
! Curiousity !! Curious Output
 +
|-
 +
| <nowiki>{{#md5:{{#time: Y-m-d|2008-07-01}}-{{#dow:2008|07|01}} |1|1}}</nowiki>
 +
| {{#md5:{{#time: Y-m-d|2008-07-01}}-{{#dow:2008|07|01}} |1|1}}
 +
|-
 +
| <nowiki>{{#md5:{{#time: Y-m-d|2008-07-01}}-{{#dow:2008|07|01}} |2|1}}</nowiki>
 +
| {{#md5:{{#time: Y-m-d|2008-07-01}}-{{#dow:2008|07|01}} |2|1}}
 +
|-
 +
| <nowiki>{{#md5:{{#time: Y-m-d|2008-06-29}}-{{#dow:2008|06|29}} |1|1}}</nowiki>
 +
| {{#md5:{{#time: Y-m-d|2008-06-29}}-{{#dow:2008|06|29}} |1|1}}
 +
|-
 +
| <nowiki>{{#md5:{{#time: Y-m-d|2008-06-29}}-{{#dow:2008|06|29}} |2|1}}</nowiki>
 +
| {{#md5:{{#time: Y-m-d|2008-06-29}}-{{#dow:2008|06|29}} |2|1}}
 +
|-
 +
| <nowiki>{{#md5:{{#time: Y-m-d|2008-05-31}}-{{#dow:2008|05|31}} |1|1}}</nowiki>
 +
| {{#md5:{{#time: Y-m-d|2008-05-31}}-{{#dow:2008|05|31}} |1|1}}
 +
|-
 +
| <nowiki>{{#md5:{{#time: Y-m-d|2008-05-31}}-{{#dow:2008|05|31}} |2|1}}</nowiki>
 +
| {{#md5:{{#time: Y-m-d|2008-05-31}}-{{#dow:2008|05|31}} |2|1}}
 
|}
 
|}

Revision as of 18:40, 1 July 2008

My sandbox

MediaWiki Implementation Tests

Code Output
{{#vardefine: date|2008-06-02}}
{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} 12637.67
Non-30W Code Non-30W Output
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} }} 8270533fadd0ebc98586ffef3f2aec71
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |1}} 8270533fadd0ebc
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |1|1}} 0.50952644638693
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |2}} 8586ffef3f2aec7
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |2|1}} 0.52159118262277
30W Code 30W Output
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} }} 62cb96136645c03c077f811ce29c0504
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |1}} 62cb96136645c03
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |1|1}} 0.3859189793932
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2}} 077f811ce29c050
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2|1}} 0.029289311935472
Curiousity Curious Output
{{#md5:{{#time: Y-m-d|2008-07-01}}-{{#dow:2008|07|01}} |1|1}} 0.081401414082338
{{#md5:{{#time: Y-m-d|2008-07-01}}-{{#dow:2008|07|01}} |2|1}} 0.78772243835939
{{#md5:{{#time: Y-m-d|2008-06-29}}-{{#dow:2008|06|29}} |1|1}} 0.60804596257579
{{#md5:{{#time: Y-m-d|2008-06-29}}-{{#dow:2008|06|29}} |2|1}} 0.57544662344139
{{#md5:{{#time: Y-m-d|2008-05-31}}-{{#dow:2008|05|31}} |1|1}} 0.037487083264807
{{#md5:{{#time: Y-m-d|2008-05-31}}-{{#dow:2008|05|31}} |2|1}} 0.28126647676439