diff options
author | Érico Rolim <erico.erc@gmail.com> | 2021-02-25 14:21:36 -0300 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-03-04 17:48:23 +0100 |
commit | c95e3dc065be71bc66dd3b7b3f7b208f541e9341 (patch) | |
tree | be687f48ed73f27de9585d9f0faf6af9f152f9d8 /NEWS | |
parent | 00a520a4c35fa07552b2bf0965e41cde791ca1db (diff) |
storage/plugins/CurlStorage: don't use glibc extension in
ParseTimePoint.
%Z is a glibc extension to strptime, and is a no-op there, due to the
mapping between timezone names and their definition (especially when the
name comes from a different machine) being ambiguous / impossible. Time
in HTTP headers is guaranteed to be UTC.
Passing an unknown format to strptime() implementations that don't
support it will generally cause them to return NULL, which will lead to
ParseTimePoint throwing an exception and ParseTimeStamp using an
unnecessary fallback.
Since the timezone name goes at the end of the string, we don't need to
use %Z to skip it (could be an issue in a different time stamp format),
so simply removing %Z works best.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,8 @@ ver 0.22.7 (not yet released) * decoder - ffmpeg: fix build problem with FFmpeg 3.4 +* storage + - curl: don't use glibc extension ver 0.22.6 (2021/02/16) * fix missing tags on songs in queue |