diff options
Diffstat (limited to 'source/ui-atom.c')
| -rw-r--r-- | source/ui-atom.c | 4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 4 insertions, 0 deletions
diff --git a/source/ui-atom.c b/source/ui-atom.c index 0f82c0d..55b59a1 100644 --- a/source/ui-atom.c +++ b/source/ui-atom.c @@ -24,6 +24,10 @@ */ static const char *feed_date(timestamp_t when) { + // The newest commit's date comes straight from git, unclamped, and + // git's date code dies on one the system cannot hold. + if (date_overflows(when)) + when = 0; return show_date(when, 0, date_mode_from_type(DATE_ISO8601_STRICT)); } |
