Marco Zeisler bf8d5c450e change datetime.now to datetime.utcnow;
fix test_ifeed test;
2021-06-17 23:19:16 +02:00

11 lines
194 B
Python

class MyDate:
timestamp = None
@classmethod
def set_timestamp(cls, timestamp):
cls.timestamp = timestamp
@classmethod
def utcnow(cls):
return cls.timestamp