From 325188286b32c084da98e13f07e624fd6555abf7 Mon Sep 17 00:00:00 2001
From: Mooffie <mooffie@gmail.com>
Date: Wed, 14 Dec 2016 01:03:18 +0200
Subject: [PATCH 01/13] Ticket #3729: extfs: uace: fix date format.
Use "MM-DD-YYYY hh:mm" instead of "Mon DD YYYY hh:mm".
---
src/vfs/extfs/helpers/uace.in | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/vfs/extfs/helpers/uace.in b/src/vfs/extfs/helpers/uace.in
index b383d41..90e3f4b 100644
a
|
b
|
ACE_GET="unace x" |
16 | 16 | |
17 | 17 | # The 'list' command executive |
18 | 18 | |
19 | | # Unace: DD.MM.YY HH.MM packed size ratio file |
| 19 | # Unace: DD.MM.YY HH:MM packed size ratio file |
20 | 20 | # ls: |
21 | 21 | mc_ace_fs_list() |
22 | 22 | { |
… |
… |
mc_ace_fs_list() |
27 | 27 | fi |
28 | 28 | fi |
29 | 29 | $ACE_LIST "$1" | @AWK@ -v uid=$UID ' |
30 | | BEGIN { Month="JanFebMarAprMayJunJulAugSepOctNovDec" } |
31 | 30 | /%/ { |
32 | 31 | split($1,date,".") |
33 | 32 | |
… |
… |
BEGIN { Month="JanFebMarAprMayJunJulAugSepOctNovDec" } |
36 | 35 | else |
37 | 36 | date[3]=date[3] + 2000 |
38 | 37 | |
39 | | printf "-rw-r--r-- 1 %-8d %-8d %8d %s %2d %4d %s %s\n", uid, 0, $3, substr(Month,3*(date[2]-1)+1,3),date[1],date[3], $2, $6 |
| 38 | printf "-rw-r--r-- 1 %-8d %-8d %8d %02d-%02d-%04d %s %s\n", uid, 0, $3, date[2], date[1], date[3], $2, $6 |
40 | 39 | }' 2>/dev/null |
41 | 40 | exit 0 |
42 | 41 | } |