modification of datatime() new added entry created
This commit is contained in:
@@ -39,7 +39,7 @@ class ManholeDomesticChamber(db.Model):
|
||||
|
||||
Domestic_Chambers = db.Column(db.Float)
|
||||
|
||||
created_at = db.Column(db.DateTime, default=datetime.utcnow)
|
||||
created_at = db.Column(db.DateTime, default=datetime.today)
|
||||
|
||||
def __repr__(self):
|
||||
return f"<HanholeDomesticChamberConstruction {self.Location}>"
|
||||
|
||||
Reference in New Issue
Block a user