subtract from current time
This commit is contained in:
@@ -14,10 +14,9 @@ def update_incubation(source_collection):
|
||||
for doc in docs:
|
||||
doc_id = doc.id #doc.to_dict()["_id"]
|
||||
print(doc_id)
|
||||
# Add 15 minutes
|
||||
|
||||
new_time = datetime.now() + timedelta(minutes=-15)
|
||||
|
||||
|
||||
try:
|
||||
db.collection(source_collection).document(doc_id).update({
|
||||
# "bloodGroup": "B+",
|
||||
|
||||
Reference in New Issue
Block a user