Changes between Initial Version and Version 1 of Ticket #28410, comment 5


Ignore:
Timestamp:
May 30, 2019, 9:10:30 AM (5 years ago)
Author:
Can Sarıgöl

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28410, comment 5

    initial v1  
    11In master branch, I couldn't see a problem with this query. Doesn't {{{timedelta(hours=-5)}}} work for your need? am I wrong?
     2
     3
     4{{{
     5from datetime import timedelta, timezone as datetime_timezone
     6tz = datetime_timezone(timedelta(hours=-5))
     7timezone.activate(tz)
     8}}}
Back to Top