diff options
author | Florian Wehner <florian@whnr.de> | 2019-03-08 02:14:55 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-03-19 02:53:30 +0100 |
commit | c61cd050f9b6475ea128a1da02e88b284ac509b5 (patch) | |
tree | 943d9466c0c0d865dc830d9cd0d3abd650a7bd7e /scripts/libmakepkg/source/local.sh.in | |
parent | c0e9be7973be6c81b22fde91516fb8991e7bb07b (diff) | |
download | pacman-c61cd050f9b6475ea128a1da02e88b284ac509b5.tar.gz pacman-c61cd050f9b6475ea128a1da02e88b284ac509b5.tar.xz |
Reformatting log timestamp to include time-zone
The time logged is currently given as localtime without any timezone
information. This is confusing in various scenarios.
Examples:
* If one is travelling across time-zones and the timestamps in the log
appear out of order.
* Comparing dates with `datediff` gives an offset by the time-zone
This patch would reformat the time-stamp to a full ISO-8601 version.
It includes the 'T' separating date and time including seconds.
Old: [2019-03-04 16:15]
New: [2019-03-04T16:15:45-05:00]
Signed-off-by: Florian Wehner <florian@whnr.de>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/source/local.sh.in')
0 files changed, 0 insertions, 0 deletions