0
Researching

MTG weather behind by one day

Ned 10 months ago in Media Tiles / Media Tile Generator (MTG by JGG) • updated by Terry (ActionTiles) (Co-Founder) 10 months ago 2

First, I love this app.  But, the mtg weather tile is always a day behind.  Today, is April 9 and the tile starts on April 8.  Is there something I missed in the config.


https://mtg.actiontiles.com/weather.php?country=us&loc=West%20Jordan,UT&static=false&layout=3x2&bodyColor=00ff00

Researching

Hi Ned,


What timezone are you in? I believe the bug is that MTG bases the "first day" on a certain timezone (likely UTC or maybe PST where the cloud center is), and will include that day as the "first day" even until 2359h UTC or PST.

 

I would prefer not to try to infer timezone based on the Location; so if we enhance the script, we would consider offering a timezone offset parameter so that we could attempt to shift the data scrape accordingly.

+1

Timezone settings would be great.


I know now what is causing this, so I'm good.


Thanks