Difference between revisions of "Template:Coordinates/Regular/lonOnly"

From Geohashing
imported>Mattyk
imported>Mattyk
Line 1: Line 1:
<includeonly>{{#if:{{#var:londate}}||{{#vardefine:londate|{{#time:Y-m-d|{{{1}}} }} }}{{#ifeq:{{#var:londate}}|1970-01-01-|{{#vardefine:londate|{{{1}}}}}|}}}}{{#vardefine: steps|{{#expr: ({{#md5:{{#time: Y-m-d|{{#var:londate}}}}-{{#dow:{{#time: Y|{{#var:londate}}}}|{{#time: m|{{#var:londate}}}}|{{#time: d|{{#var:londate}}}}}} |2|1}} round 7) * 10000000}}}}.{{padleft:{{#var:steps}}|7|0}}</includeonly>
+
<includeonly>{{#if:{{#var:londate}}||{{#vardefine:londate|{{#time:Y-m-d|{{{1}}} }} }}{{#ifeq:{{#var:londate}}|1970-01-01|{{#vardefine:londate|{{{1}}}}}|}}}}{{#vardefine: steps|{{#expr: ({{#md5:{{#time: Y-m-d|{{#var:londate}}}}-{{#dow:{{#time: Y|{{#var:londate}}}}|{{#time: m|{{#var:londate}}}}|{{#time: d|{{#var:londate}}}}}} |2|1}} round 7) * 10000000}}}}.{{padleft:{{#var:steps}}|7|0}}</includeonly>

Revision as of 01:33, 10 December 2008