Changing Timezone On An Existing Django Project
Like an idiot, I completely overlooked the timezone setting when I first built an application that collects datetime data. It wasn't an issue then because all I was doing was 'time
Solution 1:
I would do a mass update to the database tables by adding or subtracting hours to/from the datetime fields.
Something like this works in SQL Server, and adds 2 hours to the date:
update tblName set date_field = dateadd("hh", 2, data_field)
Post a Comment for "Changing Timezone On An Existing Django Project"