display year in long listing

edge.strict_endians
flatcap 2005-08-11 13:53:08 +00:00
parent 68aab0dacd
commit 8567df0b6d
1 changed files with 2 additions and 1 deletions

View File

@ -551,7 +551,8 @@ static int list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name,
ntfs_time = ntfs2utc(sle64_to_cpu(
file_name_attr->last_data_change_time));
strcpy(t_buf, ctime(&ntfs_time));
t_buf[16] = '\0';
memmove(t_buf+16, t_buf+19, 5);
t_buf[21] = '\0';
if (dt_type != NTFS_DT_DIR) {
if (!ntfs_attr_lookup(AT_DATA, AT_UNNAMED, 0, 0, 0,