Warning: preg_replace_callback(): Requires argument 2, '$func['entity_fix']('\2')', to be a valid callback in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3
DST Bug
DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • September 20, 2019, 03:07:35 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: 1 [2]   Go Down
  Print  
Author Topic: DST Bug  (Read 6217 times)
0 Members and 1 Guest are viewing this topic.
Aeolus
Mod God
*****
Offline Offline

Posts: 1934


You're welcome.


View Profile WWW
« Reply #15 on: September 24, 2013, 09:52:57 AM »

Just over a month, and we'll have this issue again.

I was thinking - why not have a module that checks if daylight savings has changed between page loads (using date("I")), and if it has, run through the database, and update all occurrences of a date (set dates an hour forward at the start of DST, and an hour back at the end of DST)?

Might take a while for the page to load, but it only needs to be done twice a year. Just an idea.
Logged

Pages: 1 [2]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
82 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search