diff options
author | kn00tcn <[email protected]> | 2017-03-07 22:10:34 -0500 |
---|---|---|
committer | ZenWalker <[email protected]> | 2017-03-12 02:30:55 +0100 |
commit | e1646ec8dc32fe55fc610c7a17cf6c128a0827cc (patch) | |
tree | f12a08ab149f30dfdd18314b3a930b006f67ef29 /src/test-server.c | |
parent | cea0a8151f01fc367a1e8a8d3851dd5faaebc8a1 (diff) | |
download | engrampa-e1646ec8dc32fe55fc610c7a17cf6c128a0827cc.tar.bz2 engrampa-e1646ec8dc32fe55fc610c7a17cf6c128a0827cc.tar.xz |
Fix: rar file listing now shows correct date with recent binary
rar before version 5.30 used DD-MM-YY, but versions since then use YYYY-MM-DD, most people using rar would and should be using recent versions
this fix reorders the string split so year is first and day is last in order to show the correct date when using rar version 5.30 onward
the newer date format matches the one used by tar, so based on tar's code, this fix replaces support for year strings to four characters instead of two
updated example listing output for rar versions is included and moved right before the time function instead of right after
Diffstat (limited to 'src/test-server.c')
0 files changed, 0 insertions, 0 deletions