PDA

View Full Version : FG Game Calendar - Local Timezone for Firefox



Fudly
July 26th, 2016, 02:38
The find a game calendar (https://www.fantasygrounds.com/gamecalendar/dashboard.php) assumes you're in the GMT timezone. This works great if you live in England, but since poor slobs like me who live in the colonies don't enjoy checking Sunday mornings for games that start Saturday evenings, I wrote a Greasemonkey script that makes the page use your local timezone.

How to install it:

If you don't have the Greasemonkey addon for Firefox, go here (https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/?src=search), click "Add to Firefox", do whatever else is needed to install it, and restart your browser.
Download the attachment from this post.
Open it in notepad or another text editor.
Press Ctrl+A to select everything.
Press Ctrl+C to copy it.
Navigate to the calendar (https://www.fantasygrounds.com/gamecalendar/dashboard.php) in Firefox.
Click the downarrow to the right of the monkeyface on your toolbar.
Click "New User Script".
Click "Use Script from Clipboard".
Close the window that pops up.
When you navigate to the game calendar, it'll be in your local timezone.

damned
July 26th, 2016, 05:46
It doesnt assume England at all. It assumes UTC.
Set your timezone here: https://www.fantasygrounds.com/forums/profile.php?do=editoptions

Fudly
July 26th, 2016, 07:15
I've had that set to mountain time. Individual games convert to MDT, but the calendar always says GMT. You're telling me the calendar is not GMT for you?

damned
July 26th, 2016, 08:40
I've had that set to mountain time. Individual games convert to MDT, but the calendar always says GMT. You're telling me the calendar is not GMT for you?

My apologies - the newer Calendar Calendar view does exhibit this behaviour - good find Fudly.