]> git.ipfire.org Git - thirdparty/systemd.git/commit
util-lib: when parsing time values, accept "M" as short for "month"
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Nov 2015 17:12:37 +0000 (18:12 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Nov 2015 18:50:52 +0000 (19:50 +0100)
commiteb55ec9feccead1ea359fccf915fa8333ec20879
treee9096f4cc330c2370c05d6e36c80c5925d91e9ab
parent08c77cf3987b52d0380b3d7d239ba254447692ee
util-lib: when parsing time values, accept "M" as short for "month"

nginx defines an uppercase "M" that way (in contrast to the lowercase
"m" for "minute"), and it sounds like an OK logic to follow, so that we
understand a true superset of time values nginx understands.

http://nginx.org/en/docs/syntax.html
man/systemd.time.xml
src/basic/time-util.c