summaryrefslogtreecommitdiff
path: root/database.py
diff options
context:
space:
mode:
authoryuzu-eva <cafebabe@disroot.org>2025-05-28 19:56:04 +0200
committeryuzu-eva <cafebabe@disroot.org>2025-05-28 19:56:04 +0200
commit869f593e3d0a195f47491849410029921820c22e (patch)
treeeffb86db66115298bbf04065e132002dfca30030 /database.py
parent1802a4e919883b29af29b7840b6235baa818dc33 (diff)
went back to UTC for consistencyHEADmaster
Diffstat (limited to 'database.py')
-rwxr-xr-xdatabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/database.py b/database.py
index 34945a0..98d9564 100755
--- a/database.py
+++ b/database.py
@@ -73,7 +73,7 @@ class Database:
INSERT INTO thoughts (category_id, title, markdown_text, datetime)
VALUES ((
SELECT id FROM categories WHERE name = ?
- ), ?, ?, datetime('now', 'localtime'));""", (category, title, markdown))
+ ), ?, ?, datetime('now'));""", (category, title, markdown))
def update_thought_markdown(self, id_, markdown):
cursor = self.__connection.cursor()