Changes between Initial Version and Version 1 of Ticket #17937, comment 4


Ignore:
Timestamp:
Mar 19, 2012, 4:08:39 PM (13 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17937, comment 4

    initial v1  
    1 The patch is at the wrong layer -- `is_aware` and `is_naive` are only intended to receive `datetime` objects (or subclasses, or API-compatible classes).
     1Thanks for the patch. Unfortunately, I think it puts the check in the wrong layer -- `is_aware` and `is_naive` are only intended to receive `datetime` objects (or subclasses, or API-compatible classes).
    22
    33The check should be in `timesince` instead.
Back to Top