我想设置Django时区,以便时钟应与佛罗里达州的当地时间保持一致,即东部夏令时(DST).请建议对Django设置时区的更改,使其与此时区保持一致;目前
django设置为EST(东部标准时间)而不是EDT(东部夏令时间).当我们进入/离开夏令时,它应该自动改变.
# Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems. # If running in a Windows environment this must be set to the same as your # system time zone. TIME_ZONE = 'America/Chicago'
我在amazon ubuntu中运行我的应用程序.什么是佛罗里达当地时间最好的time_zone.我正在使用Django 1.5.