chiark / gitweb /
Always allow timestamps to be printed
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 21 May 2018 18:39:09 +0000 (20:39 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit0fd6a0f934d6ad4d553a4b81dd4c7549dd440c37
treea241d166a6772f1484ba10ce5f947e1f2f709590
parent4200259f1ff34f40654440388f8e4a401f71c080
Always allow timestamps to be printed

If the timestamp is above 9999-12-30, (or 2038-something-something on 32 bit),
use XXXX-XX-XX XX:XX:XX as the replacement.

The problem with refusing to print timestamps is that our code accepts such
timestamps, so we can't really just refuse to process them afterwards. Also, it
makes journal files non-portable, because suddently we might completely refuse
to print entries which are totally OK on a different machine.
src/basic/time-util.c