Difference between revisions of "Template:Coordinates/Regular"

From Geohashing
imported>Tjtrumpet2323
imported>Tjtrumpet2323
(if coords not yet announced for the date passed, will return a notification thereunto)
Line 1: Line 1:
<includeonly>{{#vardefine: date|{{#time:Y-m-d|{{{1}}} }} }}{{Coordinates/Regular/latOnly|{{#var:date}}}}, {{Coordinates/Regular/lonOnly|{{#var:date}}}}</includeonly>
+
<includeonly>{{#vardefine: date|{{#time:Y-m-d|{{{1}}} }} }}{{#ifeq: {{isusdst}} | 1 | {{#vardefine: currentETstamp|{{#time:YmdHi|{{CURRENTTIMESTAMP}} -4 hours}}}} | {{#vardefine: currentETstamp|{{#time:YmdHi|{{CURRENTTIMESTAMP}} -5 hours}}}} }}{{#ifexpr: {{#var:currentETstamp}} >= {{#time:Ymd|{{Dow date to use|{{{1}}}|30w=0}}}}0933 <!-- SAFETY CUSHION of three minutes in case sources not yet updated -->
 +
| {{Coordinates/Regular/latOnly|{{#var:date}}}}, {{Coordinates/Regular/lonOnly|{{#var:date}}}}
 +
| ''Announced at 09:30 [[ET]], {{#time:l j F|{{Dow date to use|{{{1}}}|30w=0}}}}.''
 +
}}</includeonly>

Revision as of 04:27, 3 July 2008