0
Discuss & Vote

Time Zone offset needed for MTG weather (behind by one day)

Ned 2 years ago in Media Tiles / Media Tile Generator (MTG by JGG) updated by waller bean 1 month ago 5

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

Answer

Answer
Discuss & Vote

I've changed this into a Feature Request.


The MTG module is distinct from the rest of ActionTiles because it is a set of PHP scripts (vs Javascript, etc. for the app)We'll have to experiment to see if just adding a parameter and a few calculations has the desired effect. We'll keep this post updated with any progress.


Thanks,

...Terry.

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

Hello there any chance to get TZ offset? 

Answer
Discuss & Vote

I've changed this into a Feature Request.


The MTG module is distinct from the rest of ActionTiles because it is a set of PHP scripts (vs Javascript, etc. for the app)We'll have to experiment to see if just adding a parameter and a few calculations has the desired effect. We'll keep this post updated with any progress.


Thanks,

...Terry.

Exactly the spring is here and it comes with the fear of the hot summers. The exact futures of the best assignment writing service online are good for the new users in any respect. Summers are always with the fear of the humidity and hot weather and we all are scary.