mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
Merge commit '1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a'
* commit '1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a': dashenc: fix ISO8601 UTC parsing Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
93bf0480c2
@ -433,7 +433,7 @@ static void format_date_now(char *buf, int size)
|
||||
struct tm *ptm, tmbuf;
|
||||
ptm = gmtime_r(&t, &tmbuf);
|
||||
if (ptm) {
|
||||
if (!strftime(buf, size, "%Y-%m-%dT%H:%M:%S", ptm))
|
||||
if (!strftime(buf, size, "%Y-%m-%dT%H:%M:%SZ", ptm))
|
||||
buf[0] = '\0';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user