TimeZone Bug Fix
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ class Order(Base):
|
||||
# When the order/ticket was created in the source system
|
||||
source_created_at = Column(DateTime, nullable=True)
|
||||
# When we pulled it into this app
|
||||
imported_at = Column(DateTime, nullable=False, default=dt.datetime.utcnow)
|
||||
imported_at = Column(DateTime, nullable=False, default=dt.datetime.now)
|
||||
# When this ticket first transitioned into a fulfilled status - used
|
||||
# for "fulfilled today" counts and as a rough audit trail. Set once,
|
||||
# on the transition; not touched again while it stays fulfilled.
|
||||
|
||||
Reference in New Issue
Block a user