chiark / gitweb /
job: print the "OK" status messages in normal green
[elogind.git] / src / shared / time-util.c
index 4fd8f08984d3c0df608348868a20a17dfbc62cb0..e192d5ef58d712302231575fce57808f7176ef5e 100644 (file)
@@ -230,6 +230,8 @@ char *format_timespan(char *buf, size_t l, usec_t t) {
                 const char *suffix;
                 usec_t usec;
         } table[] = {
+                { "y", USEC_PER_YEAR },
+                { "month", USEC_PER_MONTH },
                 { "w", USEC_PER_WEEK },
                 { "d", USEC_PER_DAY },
                 { "h", USEC_PER_HOUR },