diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-06-09 23:52:56 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-06-09 23:52:56 +0200 |
| commit | 47735c3d73cc677e519cd33b58232c97729596fa (patch) | |
| tree | 32b96f0388721dd63668cb159d05e6c934536268 /vfs/UVFSCore.pas | |
| parent | f9c7a5f62f96fab9ce5e3d2c205bc9da3046c4d4 (diff) | |
| download | tuxcmd-0.6.40.tar.xz | |
Date/time string formatting revisionv0.6.40
Added ability to set custom date/time format
Diffstat (limited to 'vfs/UVFSCore.pas')
| -rw-r--r-- | vfs/UVFSCore.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas index e3bdf4c..ded912a 100644 --- a/vfs/UVFSCore.pas +++ b/vfs/UVFSCore.pas @@ -398,7 +398,7 @@ begin IsFIFO := TVFSItemType(P^.ItemType) = vFifo; IsSock := TVFSItemType(P^.ItemType) = vSock; // DebugMsg(['Checkpoint 5']); - ModifyTime := UnixTimeToTDateTime(P^.m_time); + ModifyTime := P^.m_time; // DebugMsg(['Returned datetime: ', Longword(P^.m_time)]); // DebugMsg(['Checkpoint 6']); UID := P^.iUID; @@ -588,7 +588,7 @@ begin {***} IsOnRO := True; IsExecutable := P^.iMode and S_IXUSR = S_IXUSR; Mode := P^.iMode; - ModifyTime := UnixTimeToTDateTime(P^.m_time); + ModifyTime := P^.m_time; mtime := P^.m_time; atime := P^.a_time; UID := P^.iUID; @@ -648,7 +648,7 @@ var Item: PDataItemSL; {***} IsOnRO := True; IsExecutable := AddCurrDirStage or (P^.iMode and S_IXUSR = S_IXUSR); Mode := P^.iMode; - ModifyTime := UnixTimeToTDateTime(P^.m_time); + ModifyTime := P^.m_time; mtime := P^.m_time; atime := P^.a_time; UID := P^.iUID; |
