Difference between revisions of "Template:Coordinates/Regular/lonOnly"
From Geohashing
imported>Joannac m (Protected "Template:Coordinates/Regular/lonOnly": Excessive spamming ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
(Fix 2012-02-26 (hopefully without breaking anything else)) |
||
(One intermediate revision by one other user not shown) | |||
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|{{# | + | <includeonly>{{#if:{{#var:londate}}||{{#vardefine:londate|{{#time:Y-m-d|{{{1}}} }} }}{{#ifeq:{{#var:londate}}|1970-01-01|{{#vardefine:londate|{{{1}}}}}|}}}}{{#vardefine: steps|{{#number_format:{{<!--number_format accepts "e" but not "E"-->lc:{{#md5:{{#time: Y-m-d|{{#var:londate}}}}-{{#dow:{{#time: Y|{{#var:londate}}}}|{{#time: m|{{#var:londate}}}}|{{#time: d|{{#var:londate}}}}}} |2|1}}}}|7|.}}}}{{#sub:{{#var:steps}}|1}}</includeonly> |