Spaces:
Sleeping
Sleeping
Ron Au
commited on
Commit
•
d8e32e1
1
Parent(s):
4ddace2
feat(logs): Rename datetime -> timestamp
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def new_card(pull: int, saved: int) -> Dict[str, Union[Details, str]]:
|
|
27 |
card_logs.append({
|
28 |
"pull": pull,
|
29 |
"saved": saved,
|
30 |
-
"
|
31 |
})
|
32 |
|
33 |
details: Details = rand_details()
|
|
|
27 |
card_logs.append({
|
28 |
"pull": pull,
|
29 |
"saved": saved,
|
30 |
+
"timestamp": strftime('%Y-%m-%dT%H:%M:%SZ', gmtime())
|
31 |
})
|
32 |
|
33 |
details: Details = rand_details()
|