Difference between revisions of "Globalhash/Coordinates/lonOnly"
From Geohashing
imported>Jiml m (Unadjust category) |
(Fix 2012-02-26 (hopefully without breaking anything else)) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{#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}}}} |2|1}}) * 360 - 180}}}}{{#var:steps}} | + | {{#vardefine: date|{{#time:Y-m-d|{{{1}}}}} }}{{#vardefine: steps|{{#number_format:{{<!--number_format accepts "e" but not "E"-->lc:{{#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}}}} |2|1}}) * 360 - 180}}}}|12|.}}}}{{#var:steps}} |
Latest revision as of 09:24, 14 August 2020
116.154543976680