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


Ignore:
Timestamp:
01/09/2012 01:35:52 PM (4 years ago)
Author:
michaelmior
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16745, comment 5

    initial v1  
    11@aaugustin Would I be correct in understanding that {{{django.utils.timezone.localtime}}} performs the conversion to the default time zone?
    22
    3 @kaaria Agreed that the transaction start time may be unreliable, but it should be roughly accurate. As far as I can tell, Django has no guarantees on the delta of these times from their actual values anyway. (Although perhaps calling the time {{{transaction_start}}} is a bit of a misnomer.) My concern with using `NOW()` from the database end is that it requires knowledge of the server's configured time zone, which I don't believe Django currently has. Correct me if I'm wrong.
     3@akaariai Agreed that the transaction start time may be unreliable, but it should be roughly accurate. As far as I can tell, Django has no guarantees on the delta of these times from their actual values anyway. (Although perhaps calling the time {{{transaction_start}}} is a bit of a misnomer.) My concern with using `NOW()` from the database end is that it requires knowledge of the server's configured time zone, which I don't believe Django currently has. Correct me if I'm wrong.
Back to Top