Difference between revisions of "Template:Coordinates/30Wadjusted/latOnly"

From Geohashing
imported>Tjtrumpet2323
imported>Mattyk
Line 1: Line 1:
<includeonly>{{#vardefine: date|{{#time:Y-m-d|{{{1}}} }} }}{{#vardefine: steps|{{#expr: ({{#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}} round 7) * 10000000}}}}.{{padleft:{{#var:steps}}|7|0}}</includeonly>
+
<includeonly>{{#vardefine:date|{{#time:Y-m-d|{{{1}}} }} }}{{#ifeq:{{#var:date}}|2007-01-01-|{{#verdefine:date|{{{1}}}}}|}}{{#vardefine: steps|{{#expr: ({{#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}} round 7) * 10000000}}}}.{{padleft:{{#var:steps}}|7|0}}</includeonly>

Revision as of 08:40, 9 December 2008