I’m working on a scheduling web application for work and am having a very weird problem. The application uses Django and FullCalendar. In the application users can create an event in FullCalendar and the start and end time get stored as a DateTime field in a PostgreSQL database. When the events are returned to the calendar I use a Django DateTag to convert the times to a UnixTimestamp. Everything works perfectly except that the timestamp will randomly be returned one hour early for all events. About every few times I access the page the timestamp will be off by one hour.
Has anyone else experienced a similar problem and been able to find a fix?
If this is a live server perhaps you need to check the .conf files for timestamp settings?
For example you may find that at
/etc/httpd/conf/httpd.confAnd add the following line
setenv TZ America/<Timezone>