summaryrefslogtreecommitdiff
path: root/src/date.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-02-05 09:47:01 +0000
committerJim Meyering <jim@meyering.net>2004-02-05 09:47:01 +0000
commitadc816c05ac409c4a0e9cff03114cb7af2c5516d (patch)
tree484edb77e8ee4044c012035b1fe6dddbacd3de2b /src/date.c
parentb5cfd989df45e22aa16c390c650fa1396d7eec3f (diff)
downloadcoreutils-adc816c05ac409c4a0e9cff03114cb7af2c5516d.tar.xz
Include "inttostr.h".
(human_time): Print the date/time as a number of seconds since the epoch if it can't be converted by localtime. This is better than just saying "invalid", and is consistent with what "ls" does. Don't dump core if the year has more than 48 digits; this isn't possible on any contemporary host, but we might as well do it right.
Diffstat (limited to 'src/date.c')
0 files changed, 0 insertions, 0 deletions