Spaces:
Running
Running
Commit
·
59ed4d3
1
Parent(s):
e3dd34f
Update transaction timestamp format to include time in write_message method
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ class Agent:
|
|
| 112 |
wk.update_value(f'B{nrows+2}', result.dr_or_cr) # type: ignore
|
| 113 |
wk.update_value(f'C{nrows+2}', result.receiver) # type: ignore
|
| 114 |
wk.update_value(f'D{nrows+2}', result.category) # type: ignore
|
| 115 |
-
wk.update_value(f'E{nrows+2}', datetime.now(ist_tz).strftime("%Y-%m-%d")) # type: ignore
|
| 116 |
wk.update_value(f'F{nrows+2}', result.transaction_origin) # type: ignore
|
| 117 |
wk.update_value(f'G{nrows+2}', state["messages"][0]) # type: ignore
|
| 118 |
print(f"{datetime.now(ist_tz)}: Writing transaction message to Google Sheets completed.")
|
|
|
|
| 112 |
wk.update_value(f'B{nrows+2}', result.dr_or_cr) # type: ignore
|
| 113 |
wk.update_value(f'C{nrows+2}', result.receiver) # type: ignore
|
| 114 |
wk.update_value(f'D{nrows+2}', result.category) # type: ignore
|
| 115 |
+
wk.update_value(f'E{nrows+2}', datetime.now(ist_tz).strftime("%Y-%m-%d %H:%M:%S")) # type: ignore
|
| 116 |
wk.update_value(f'F{nrows+2}', result.transaction_origin) # type: ignore
|
| 117 |
wk.update_value(f'G{nrows+2}', state["messages"][0]) # type: ignore
|
| 118 |
print(f"{datetime.now(ist_tz)}: Writing transaction message to Google Sheets completed.")
|