Currently you are using the date() function in pDraw::scaleFormat() to format a value. However, this may give some unexpected results, depending on the timezone set. I think it would be a good idea to use gmdate() instead.
Regards
Sat Sep 03, 2011 10:19 am
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
Re: Use gmdate instead of date
Hi,
I wasn't aware of this function. This is indeed a very good suggestion and I'll look into it.
Thanks! JD.
Sat Sep 03, 2011 12:27 pm
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
Re: Use gmdate instead of date
Just added it to the 2.1.4.
People will now need to define their server timezone before drawing the scale.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum