fix: update timestamp format in touch_cipher_updated_at function

This commit is contained in:
qaz741wsd856 2025-12-08 17:55:05 +00:00
parent 964a54df63
commit 28673648e7

View file

@ -88,7 +88,7 @@ impl NumberOrString {
}
async fn touch_cipher_updated_at(db: &D1Database, cipher_id: &str) -> Result<(), AppError> {
let now = now_string();
let now = Utc::now().format("%Y-%m-%dT%H:%M:%S%.3fZ").to_string();
query!(
db,
"UPDATE ciphers SET updated_at = ?1 WHERE id = ?2",