[Vtigercrm-developers] Day light saving time in Calendar Module

nicolas GASNIER nicolas.gasnier at holdisgroup.fr
Wed Oct 31 09:28:05 PDT 2012


Hi everyone,

I'm facing a critical issue on the Calendar module for us in Europe. Two times in the year we change time so that in winter we are GMT+1 and in summer we are GMT+2. This is automatically handled by the system timezone (i.e. Europe/Brussels Madrid Paris) but VTiger seems to have a global behavior about that. The last weekend was the winter was daylight saving time... and the problem arises ! Now, all calendar events before the time change date are now displayed 1 hours before the actual time...

VTiger seems to be using the current system date to convert the time to the user timezone, and not the actual date of the event. So it handles all event like if it is in winter time, which is wrong. It should handle this using the actual date of the event.

So I had a quick look in the code in order to try a correction, but it seems very complicated to change something without breaking something else. I think it has something to do with the DateTimeField class, but I can't figure out the impact if I modify this class. And that may not be the only place to change something, there may be a lot of things in the layout generation code to change.

Does anyone have any clue  ?

I'm using VTiger 5.4 now, is that problem solved in the soon coming next release ?

Thank you very much.

Nicolas GASNIER
Développeur
HOLDIS AGRIDIS
1 rue des MORELLES
ZA Euro Val de Loire
41330 FOSSE
Tél : 02 54 81 48 44


________________________________
Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'intégrité de ce message, notre société décline par ailleurs toute responsabilité dans l'hypothèse où il aurait été modifié.

This message and any attached files (the "message") are intended solely for the addressees and are confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except if there is formal approval. The Internet cannot guarantee the integrity of this message, our company shall not therefore be liable for the message if modified.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20121031/6c98df5b/attachment.html 


More information about the vtigercrm-developers mailing list