Changeset 1918:012ebe07956d


Ignore:
Timestamp:
Apr 10, 2020, 4:05:21 PM (18 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Use `utcnow` to match stat result

The modification time in a stat result is UTC, not local time.

ticket: 134
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_path.py

    r1898 r1918  
    532532        """
    533533        path_converter = self.path_converter
    534         now = datetime.datetime.now()
     534        now = datetime.datetime.utcnow()
    535535        script = [
    536536            Call("__init__"),
Note: See TracChangeset for help on using the changeset viewer.