# HG changeset patch # User Malcolm # Date 1739010892 -3600 # Sat Feb 08 11:34:52 2025 +0100 # Node ID 3b13fb945edc6db74619b7fb54c29c06007e75a8 # Parent 3158a4d445e680dde503f20f967df57f32e0c875 FIX strftime format that works in Alpine diff --git a/src/pds/pds.ml b/src/pds/pds.ml --- a/src/pds/pds.ml +++ b/src/pds/pds.ml @@ -76,7 +76,7 @@ (fun (path, modified_at) -> ignore (Unix.system (sprintf "touch -d '%s' %S" modified_at path))) rows; - let stmt = Sqlite3.prepare db "select strftime('%FT%T')" in + let stmt = Sqlite3.prepare db "select strftime('%Y-%m-%dT%H:%M:%S')" in let rc, rows = Sqlite3.fold stmt