Skip to content

moon phase inconsistent across locations #17

@dmd

Description

@dmd

10:41 <@godbert> wxtime vee
10:41 < wx> Bradley Intl, Windsor Locks, United States (BDL/KBDL): 2018-07-17 10:41:14AM EDT (-0400) (02:41:14PM UTC) Sun: ☀ 05:31:39am ☽ 08:24:25pm 14h52m46s Moon: Waxing Crescent
10:41 <@dmd> wxtime jimbob
10:41 < wx> The Cobb, 88 Tongatabu Rd, Dromedary TAS 7030, Australia: 2018-07-18 00:41:16 AEST (+1000) (14:41:16 UTC) Sun: ☀ 07:36:39 ☽ 17:00:27 9h23m48s Moon: First Quarter

Not having looked at the code, my guess would be that you're getting the local date, but then using it in UTC context to look up the moon phase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions