2024-08-04 10:46:21 +08:00

5 lines
101 B
Plaintext

map $time_iso8601 $logdate {
default 'date-not-found';
'~^(?<ymd>\d{4}-\d{2}-\d{2})' $ymd;
}