summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()