mkulke / ftplibpp

Platform independent c++ library providing ftp client functionality.
GNU Lesser General Public License v2.1
291 stars 108 forks source link

'ModDate' returns strange-format datetime #43

Open virginity-is-cool opened 1 year ago

virginity-is-cool commented 1 year ago

'Dir' returns the results like 'xxxx Aug 13 20:38', it's correct. but 'ModDate' returns '20230813123830.245', obviously it's not in 'YYYYMMDDHHMMSS' format. It happens on win10 22h2 and win11 22h2. I use vs2022 btw.

virginity-is-cool commented 1 year ago

123830.245 ≠ 20:38, I can guess that 1238 comes from 20*60 + 38