你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/397120-mlb-tv-time-zone-converter,源站連結 點此以跳轉

MLB.TV Time Zone Converter

Convert MLB.TV game times to other time zones


點此查看下載連結位址https://update.greasyfork.org.cn/scripts/397120/MLBTV%20Time%20Zone%20Converter.user.js

安装此脚本?
作者
no space
日安装量
0
总安装量
151
评分
1 0 1
版本
1
创建于
2020-03-01
更新于
2020-03-01
大小
4.7 KB
许可证
暂无
适用于

Converts MLB.TV times from US Eastern to other time zones
https://github.com/no-space/mlbtv-timezone-converter

Converts to your local computer time zone by default, but can be overwritten to any other time zone you like by replacing the variable at the top of the script with the relevant TZ database name (see link below.) Script runs when you click your mouse on the MLB.TV Live Stream Schedule/Media Center page.

As far as I can figure it should automatically account for daylight savings time, but I've never messed with Date/Time functions in JS before, so YMMV.

https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Tested with Tampermonkey in Chrome, Firefox, and Edge Chromium