Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed incorrect date being saved to the db

Blue Mouse5e8ca7601bb1
diff --git a/src/captcha/captcha.service.ts b/src/captcha/captcha.service.ts
index b4af2802c..de7c42548 100644
--- a/src/captcha/captcha.service.ts
+++ b/src/captcha/captcha.service.ts
@@ -74,7 +74,7 @@ const captchaDTO = (
os,
cc,
isManual ? 1 : 0,
- dayjs.utc(timestamp).format('YYYY-MM-DD HH:mm:ss'),
+ dayjs.unix(timestamp).format('YYYY-MM-DD HH:mm:ss'),
]
}