decide.nolog.cz/app/models
jelhan ab4f88dd7f Fix: handling of different timezones
There were some timezone issues especially concerning daylight saving time (DST).
We should not rely on timezone offset since this will change due to DST.
Instead determine the users timezone (using jsTimezoneDetect therefore) and
then using this via moment-timezone.

This commit changes poll model. It drops timezoneOffset and adds timezone as a new property.
It's not tested yet against polls created before without timezone property. This has to be done before merge.

Also we should consider using ember-moment template helpers instead of our own formatted-date helper.
2015-07-15 16:20:24 +02:00
..
.gitkeep Starting to move to Ember App Kit 2014-07-06 17:37:54 +02:00
encryption.js first steps to ember-cli 2014-10-30 21:44:22 +01:00
poll.js Fix: handling of different timezones 2015-07-15 16:20:24 +02:00
user.js intend by 2 spaces 2015-07-07 11:52:46 +02:00