l3tnun / EPGStation

Mirakurun を使用した録画管理ソフト
https://twitter.com/l3tnun
MIT License
566 stars 151 forks source link

Local browser's timezone messes up time information in EPGStation's web output #619

Open TurtleWilly opened 2 years ago

TurtleWilly commented 2 years ago

環境

Issue

It seems the local browser timezone messes up displayed timestamps in the web output of EPGStation, if it's not "Tokyo/Japan".

E.g. I have "Berlin/ Germany" set as timezone (CEST currently), and there's switch from summertime to normal time next Sunday (Oct 30) (CEST -> CET). For some reason this affects the Japanese time information in EPGStation's output. In the morning hours (3:00am to 9:00am) all displayed times are shifted by -1 hour. After 10:00am the time information looks correct again. It happens in Firefox and Chromium (so not an issue limited to a single browser).

The raw timestamps via the API are OK however. It just seems the displaying is wrong. Configuring macOS temporarily to the "Tokyo/ Japan" timezone fixes things.

timezone_bug

l3tnun commented 1 year ago

意図してOSのタイムゾーン時刻に合わせていますが、サマータイムの考慮はしておりませんでした。 JSTで表示するのか、OSのタイムゾーンで表示するのか設定で変えられるのがベストだとは思いますが、 現時点で開発のリソースの余裕がないので、直近で対応する予定はありません。