When I issue the ls command over an FTP terminal session, the Last Modified time is displayed in the format MMM DD hh:mm.
I would expect listing USS entries with zos-node-accessor to provide the same level of granularity, but only year/month/day are set and the timestamp is missing:
|
if (fields[7].indexOf(':') === -1) { |
|
const year = parseInt(fields[7], 10); |
|
const month = monthText.indexOf(fields[5]); |
|
const date = parseInt(fields[6], 10); |
|
// May 8 2017 |
|
entry.lastModified = new Date(year, month, date); |
|
} else { |
|
// Oct 2 09:48 |
|
const now = new Date(); |
|
const month = monthText.indexOf(fields[5]); |
|
const date = parseInt(fields[6], 10); |
|
entry.lastModified = new Date(now.getFullYear(), month, date); |
|
} |
When I issue the
lscommand over an FTP terminal session, the Last Modified time is displayed in the formatMMM DD hh:mm.I would expect listing USS entries with
zos-node-accessorto provide the same level of granularity, but only year/month/day are set and the timestamp is missing:zos-node-accessor/src/parser.ts
Lines 425 to 437 in 0431d0d