MLB.TV Time Zone Converter

Convert MLB.TV game times to other time zones

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
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