diff options
Diffstat (limited to 'lr.c')
-rw-r--r-- | lr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lr.c b/lr.c index f5e2e32..f21cefc 100644 --- a/lr.c +++ b/lr.c @@ -1513,14 +1513,15 @@ print_format(struct fileinfo *fi) case 'T': { char tfmt[3] = "%\0\0"; char buf[256]; - s++; - if (!*s) - break; time_t t = (*s == 'A' ? fi->sb.st_atime : *s == 'C' ? fi->sb.st_ctime : fi->sb.st_mtime); + s++; + if (!*s) + break; + color_age_on(t); if (*s == '-') { printf("%3ldd%3ldh%3ldm%3lds", |