The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
System Time Offset & DST - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: Feature Suggestions (https://forums.formtools.org/forumdisplay.php?fid=7) +--- Thread: System Time Offset & DST (/showthread.php?tid=952) |
System Time Offset & DST - Hannes - Nov 28th, 2010 Hey there, I would like to have the daylight-saving time implemented into the System Time Offset. Is there any way that the clients do not need to swich the time manually? http://www.worldtimezone.org/daylight.html Cheers, Hannes RE: System Time Offset & DST - Ben - Dec 4th, 2010 Excellent question. No, this isn't possible right now - it has to be manual. In fact I haven't come across a script that does it - though no doubt some exist. But technically, you could do a workaround with the Hooks Manager module. You could create a rule that gets triggered on login. That would then do some clever calculations to figure out if the daylight savings time just changed and if so, update certain accounts. But frankly it may prove more bother than it's worth... Neat idea though. - Ben RE: System Time Offset & DST - Hannes - Dec 11th, 2010 (Dec 4th, 2010, 5:25 PM)Ben Wrote: But technically, you could do a workaround with the Hooks Manager module. You could create a rule that gets triggered on login. That would then do some clever calculations to figure out if the daylight savings time just changed and if so, update certain accounts. But frankly it may prove more bother than it's worth... Awesome... You have modules for everything. The only thing I need in addition is the location of the client (the field time zone does unfortunately not tell if and when the clients country is using DST). But to get this information there is "Extended Client Fields". It's not a high priority issue but as soon as I have a workable solution I will post it here. Thanks for the hint! Hannes |