Fix how email dates are inserted in to PostgreSQL
Previously, the timezone was stripped off, so the timestamps were off. This commit changes the code to use a Unix timestamp, which avoids this issue.
This commit is contained in:
parent
16799a34a9
commit
e6effe7556
3 changed files with 5 additions and 4 deletions
|
|
@ -53,7 +53,7 @@
|
|||
"NULL"
|
||||
x-git-newrev)
|
||||
git-repository-id
|
||||
(date->string date "~4"))
|
||||
date)
|
||||
|
||||
(unless (string=? "0000000000000000000000000000000000000000"
|
||||
x-git-newrev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue