mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
DOCUMENTATION: DateTime handlers.
This commit is contained in:
@@ -182,10 +182,10 @@ namespace DiscImageChef.Filesystems
|
||||
sb.AppendFormat("Volume UUID: {0}", nilfsSb.uuid).AppendLine();
|
||||
sb.AppendFormat("Volume name: {0}", StringHandlers.CToString(nilfsSb.volume_name, CurrentEncoding))
|
||||
.AppendLine();
|
||||
sb.AppendFormat("Volume created on {0}", DateHandlers.UNIXUnsignedToDateTime(nilfsSb.ctime)).AppendLine();
|
||||
sb.AppendFormat("Volume last mounted on {0}", DateHandlers.UNIXUnsignedToDateTime(nilfsSb.mtime))
|
||||
sb.AppendFormat("Volume created on {0}", DateHandlers.UnixUnsignedToDateTime(nilfsSb.ctime)).AppendLine();
|
||||
sb.AppendFormat("Volume last mounted on {0}", DateHandlers.UnixUnsignedToDateTime(nilfsSb.mtime))
|
||||
.AppendLine();
|
||||
sb.AppendFormat("Volume last written on {0}", DateHandlers.UNIXUnsignedToDateTime(nilfsSb.wtime))
|
||||
sb.AppendFormat("Volume last written on {0}", DateHandlers.UnixUnsignedToDateTime(nilfsSb.wtime))
|
||||
.AppendLine();
|
||||
|
||||
information = sb.ToString();
|
||||
@@ -196,9 +196,9 @@ namespace DiscImageChef.Filesystems
|
||||
ClusterSize = 1 << (int)(nilfsSb.log_block_size + 10),
|
||||
VolumeName = StringHandlers.CToString(nilfsSb.volume_name, CurrentEncoding),
|
||||
VolumeSerial = nilfsSb.uuid.ToString(),
|
||||
CreationDate = DateHandlers.UNIXUnsignedToDateTime(nilfsSb.ctime),
|
||||
CreationDate = DateHandlers.UnixUnsignedToDateTime(nilfsSb.ctime),
|
||||
CreationDateSpecified = true,
|
||||
ModificationDate = DateHandlers.UNIXUnsignedToDateTime(nilfsSb.wtime),
|
||||
ModificationDate = DateHandlers.UnixUnsignedToDateTime(nilfsSb.wtime),
|
||||
ModificationDateSpecified = true
|
||||
};
|
||||
if(nilfsSb.creator_os == 0) XmlFsType.SystemIdentifier = "Linux";
|
||||
|
||||
Reference in New Issue
Block a user