Track and convert game server times.
Sick of memorising time zones to convert for games and their daily reset times?
Then this is for you!
Feel free to request for more games to be added by creating an issue here, or by filling out this form.
game-data.js
.game-icons
folder.See below for more in-depth details.
赤いリンゴ
-> Akai Ringo
.Global
game with multiple servers such as Americas
, Asia
, and Europe
.Global
game with just one server.English
and Japanese
.Type
is Canonical
, and if not, find what it links to which should be Canonical
.TZ database name
column.UTC+6
or GMT+6
will have a TZ database name
of Etc/GMT-6
.game-name.gif
.game-name-global.gif
and game-name-jp.gif
.game-icons
folder.For readability, all games in this array are sorted alphabetically by name, including any starting with "The".
If a game has multiple servers in the array, it is then further sorted alphabetically by region/language (server
).
A game server can be added with the following object template:
{
game: "GAME_NAME",
server: "GAME_SERVER_REGION_OR_LANGUAGE",
timezone: "GAME_SERVER_TIMEZONE",
dailyReset: "GAME_SERVER_DAILY_RESET_TIME",
icon: "FILENAME_WITHOUT_FILE_EXTENSION",
utcDailyReset: "OPTIONAL_SEE_BELOW",
menuName: "OPTIONAL_SEE_BELOW"
},
There are two additional optional properties which can be added:
utcDailyReset
is a boolen which decides if the dailyReset
is interpretated as having Etc/UTC
as its timezone first, before converting and displaying it to the user as its appropriate timezone
property.
This only needs to be set to true
if the game server's reset time changes during the server's daylight savings.
Example where it is set to true
: If the reset time is 05:00 during PST, and changed to 06:00 during PDT.
If set to true
, the dailyReset
must use UTC/GMT.
timezone
does not require any specific changes.
For most games this is does not apply, and can be omitted from the object.
menuName
is a string which allows games to have custom display names in the game filter list.
This can help with readability for game names that are long, and/or have other similarly named games that may conflict.
This project is licensed under the GNU General Public License v3.0.
moment.min.js
moment-timezone-with-data-10-year-range.min.js
Copyright © JS Foundation and other contributors.
Licensed under the MIT License.
For more details see here.
moment-precise-range.js
Copyright © 2014 Rob Dawson.
Licensed under the MIT License.
For more details see here.