5,698
edits
Changes
m
→3 day chart (proof of concept / testing)
|-
|Today || {{#ifexpr:
abs({{#timetimel:xNU|today}}-{{#timetimel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or abs({{#timetimel:xNU|today}}-{{#timetimel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon |{{#ifexpr: abs({{#timetimel:xNU|today}}-{{#timetimel:xNU|Oct 10}}<!--Date of Last Quarter Moon in GMT-->)<=24*60*60|Last Quarter|{{#ifexpr: abs({{#timetimel:xNU|today}}-{{#timetimel:xNU|Oct 23}}<!--Date of First Quarter Moon in GMT-->)<=24*60*60|First Quarter|{{#ifexpr: ({{#timetimel:xNU|today}}-{{#timetimel:xNU|Oct 16}}) < -29.53/4*24*60*60|Waning Gibbous| <!-- 29.53/4 is a quarter of the average synodic month, but we could use something less precise, we have a lot of leeway-->{{#ifexpr: {{#timetimel:xNU|today}}-{{#timetimel:xNU|Oct 16}}<-24*60*60|Waning Crescent|{{#ifexpr: {{#timetimel:xNU|today}}-{{#timetimel:xNU|Oct 16}}<=24*60*60|New Moon|{{#ifexpr: {{#timetimel:xNU|today}}-{{#timetimel:xNU|Oct 16}}<29.53/4*24*60*60|Waxing Crescent|Waxing Gibbous
}}
}}
|-
|Tomorrow ||{{#ifexpr:
abs({{#timetimel:xNU|today + 1 days}}-{{#timetimel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or abs({{#timetimel:xNU|today + 1 days}}-{{#timetimel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon |{{#ifexpr: abs({{#timetimel:xNU|today + 1 days}}-{{#timetimel:xNU|Oct 10}}<!--Date of Last Quarter Moon in GMT-->)<=24*60*60|Last Quarter|{{#ifexpr: abs({{#timetimel:xNU|today + 1 days}}-{{#timetimel:xNU|Oct 23}}<!--Date of First Quarter Moon in GMT-->)<=24*60*60|First Quarter|{{#ifexpr: ({{#timetimel:xNU|today + 1 days}}-{{#timetimel:xNU|Oct 16}}) < -29.53/4*24*60*60|Waning Gibbous|{{#ifexpr: {{#timetimel:xNU|today + 1 days}}-{{#timetimel:xNU|Oct 16}}<-24*60*60|Waning Crescent|{{#ifexpr: {{#timetimel:xNU|today + 1 days}}-{{#timetimel:xNU|Oct 16}}<=24*60*60|New Moon|{{#ifexpr: {{#timetimel:xNU|today + 1 days}}-{{#timetimel:xNU|Oct 16}}<29.53/4*24*60*60|Waxing Crescent|Waxing Gibbous
}}
}}
|-
|In 2 Days ||{{#ifexpr:
abs({{#timetimel:xNU|today + 2 days}}-{{#timetimel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or abs({{#timetimel:xNU|today + 2 days}}-{{#timetimel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon |{{#ifexpr: abs({{#timetimel:xNU|today + 2 days}}-{{#timetimel:xNU|Oct 10}}<!--Date of Last Quarter Moon in GMT-->)<=24*60*60|Last Quarter|{{#ifexpr: abs({{#timetimel:xNU|today + 2 days}}-{{#timetimel:xNU|Oct 23}}<!--Date of First Quarter Moon in GMT-->)<=24*60*60|First Quarter|{{#ifexpr: ({{#timetimel:xNU|today + 2 days}}-{{#timetimel:xNU|Oct 16}}) < -29.53/4*24*60*60|Waning Gibbous|{{#ifexpr: {{#timetimel:xNU|today + 2 days}}-{{#timetimel:xNU|Oct 16}}<-24*60*60|Waning Crescent|{{#ifexpr: {{#timetimel:xNU|today + 2 days}}-{{#timetimel:xNU|Oct 16}}<=24*60*60|New Moon|{{#ifexpr: {{#timetimel:xNU|today + 2 days}}-{{#timetimel:xNU|Oct 16}}<29.53/4*24*60*60|Waxing Crescent|Waxing Gibbous
}}
}}
|-
|In 3 Days ||{{#ifexpr:
abs({{#timetimel:xNU|today + 3 days}}-{{#timetimel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or abs({{#timetimel:xNU|today + 3 days}}-{{#timetimel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon |{{#ifexpr: abs({{#timetimel:xNU|today + 3 days}}-{{#timetimel:xNU|Oct 10}}<!--Date of Last Quarter Moon in GMT-->)<=24*60*60|Last Quarter|{{#ifexpr: abs({{#timetimel:xNU|today + 3 days}}-{{#timetimel:xNU|Oct 23}}<!--Date of First Quarter Moon in GMT-->)<=24*60*60|First Quarter|{{#ifexpr: ({{#timetimel:xNU|today + 3 days}}-{{#timetimel:xNU|Oct 16}}) < -29.53/4*24*60*60|Waning Gibbous|{{#ifexpr: {{#timetimel:xNU|today + 3 days}}-{{#timetimel:xNU|Oct 16}}<-24*60*60|Waning Crescent|{{#ifexpr: {{#timetimel:xNU|today + 3 days}}-{{#timetimel:xNU|Oct 16}}<=24*60*60|New Moon|{{#ifexpr: {{#timetimel:xNU|today + 3 days}}-{{#timetimel:xNU|Oct 16}}<29.53/4*24*60*60|Waxing Crescent|Waxing Gibbous
}}
}}