Serhioromano / bootstrap-calendar

Full view calendar with year, month, week and day views based on templates with Twitter Bootstrap.
http://bootstrap-calendar.eivissapp.com/
MIT License
3.02k stars 1.29k forks source link

It is assumed that events are UTC #451

Open enydrueda opened 9 years ago

enydrueda commented 9 years ago

While in Venezuela (-4 : 30) , if I send an event whose start date is already set to my time zone and is due tomorrow at 2:30 am shown to this day , that this because Bookseller assumes that the event is in UTC .

martinlindhe commented 9 years ago

@enydrueda it is generally recommended to store all times in the database in UTC and then converting them to local timezone on display. So i would personally consider this a feature.

Some more information on this can be found here: https://stackoverflow.com/questions/2532729/daylight-saving-time-and-time-zone-best-practices

enydrueda commented 9 years ago

in database is saved in UTC, and then to local timezone on backend and pass to front (ajax service)