34c4dff time-util: support parsing OUTPUT_SHORT and OUTPUT_SHORT_PRECISE timestamps

2 files Authored by mrc0mmand 2 years ago, Committed by bluca 2 years ago,
    time-util: support parsing OUTPUT_SHORT and OUTPUT_SHORT_PRECISE timestamps
    
    so we can feed journalctl the localized syslog-style timestamps it shows
    by default, e.g.:
    
    ```
    $ LANG=cs_CZ.utf-8 build-san/journalctl -b --no-hostname | head -n1
    led 30 22:13:54 systemd-journald[981]: System Journal (/var/log/journal/1588e1d9d0b74acdbaada907b163b837) is 4.1G, max 4.0G, 0B free.
    $ LANG=cs_CZ.utf-8 build-san/journalctl --no-hostname --since 'led 30 22:13:54' -n1
    led 30 22:13:54 systemd-journald[981]: System Journal (/var/log/journal/1588e1d9d0b74acdbaada907b163b837) is 4.1G, max 4.0G, 0B free.
    $ LANG=cs_CZ.utf-8 build-san/journalctl --no-hostname --since 'led 30 22:13:54.9999' -n1
    led 30 22:13:58 rsyslogd[1300]: imjournal: journal files changed, reloading...  [v8.2102.0-4.fc35 try https://www.rsyslog.com/e/0 ]
    ```
    
    Resolves: #15899
    
        
file modified
+10 -0
file modified
+2 -0