WCF.Date.Time now properly handles time offsets
authorAlexander Ebert <ebert@woltlab.com>
Thu, 28 Mar 2013 11:48:39 +0000 (12:48 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 28 Mar 2013 11:48:39 +0000 (12:48 +0100)
commit8574cbfd8057a0e4f7f383f6fa90b00025c68727
tree8287bd494f7cb1aa64b3a4c1586a353e5b4e783f
parent5e4cf40efc9968552906a0ed31f04325664dc839
WCF.Date.Time now properly handles time offsets

The calculation of relative times previously failed if both the client and the server use the timezone, but their actual time is slightly different. In that case both times could be different by a few seconds, causing times to be in the future, even though it was just a mismatch.

Fixes #1179
com.woltlab.wcf/template/headInclude.tpl
wcfsetup/install/files/acp/templates/header.tpl
wcfsetup/install/files/js/WCF.js