homA icon indicating copy to clipboard operation
homA copied to clipboard

Format Solar times in localtime

Open binarybucks opened this issue 12 years ago • 1 comments

binarybucks avatar Apr 27 '13 08:04 binarybucks

@binarybucks does this have to be handled within the solar component? Asking because setting the TZ environment variable before starting the node process should work. The only necessary changes to the code would we to use toLocaleTimeString().

An alternative would be to use something like timezone-js.

Btw. For me the solar component already returns the correct sunrise and sunset times as it is right now, my TZ environment variable isn's set either.

simonvanderveldt avatar Apr 25 '15 17:04 simonvanderveldt