chiark / gitweb /
time-util: accept "µs" as time unit, in addition to "us" (#4836)
authorLennart Poettering <lennart@poettering.net>
Tue, 6 Dec 2016 09:51:26 +0000 (10:51 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:35 +0000 (17:58 +0200)
commit8f89cf7c426de33660e8350084bad845cbc47d17
tree31db55345c40008433676b7e1416ee40cc5fd880
parente5dfa086b065b0e7e620d08720ddd200c46bfbe4
time-util: accept "µs" as time unit, in addition to "us" (#4836)

Let's accept "µs" as alternative time unit for microseconds. We already accept
"us" and "usec" for them, lets extend on this and accept the proper scientific
unit specification too.

We will never output this as time unit, but it's fine to accept it, after all
we are pretty permissive with time units already.
src/basic/time-util.c