raidplaner icon indicating copy to clipboard operation
raidplaner copied to clipboard

Raid batch creation vs. summer / winter time

Open arnecls opened this issue 11 years ago • 1 comments

When creating raids as a batch (multiple raids in a row) and this batch spans over a summer / winter time change, all raids after the summer / winter time change will have the wrong hour set.

arnecls avatar Oct 27 '14 21:10 arnecls

To fix this you can use the following query:

UPDATE raids_Raid SET Start = FROM_UNIXTIME(UNIX_TIMESTAMP(Start) + 3600), End = FROM_UNIXTIME(UNIX_TIMESTAMP(End) + 3600) WHERE Start >= "2014-10-26"

This will move all raids greater than (and including) the given date by one hour. Use "- 3600" for the opposite direction.

arnecls avatar Oct 27 '14 21:10 arnecls