Moderator

 • 

5.4K Posts

July 6th, 2022 23:00


Hi, hope the link helps: 
https://dell.to/3NPkwiH
It might be the OS's timezone. Can you run "date" CMD?

1 Rookie

 • 

27 Posts

July 7th, 2022 04:00

The `date` command shows the correct time in 24-hour format, so that is not the issue.

Moderator

 • 

3K Posts

July 7th, 2022 04:00

Hi, I'm not sure JSON date represent in which format. I found another thread discussed similar topic. Can you check here https://dell.to/3bV5PgO

1 Rookie

 • 

27 Posts

July 7th, 2022 05:00

That reenforces the issue - the format of the date/time that dsu is putting in the file does not match any standard format. I am guessing it is supposed to be using 24-hour time, but it is using 12-hour time and also not adding AM/PM.

 

I am guessing something in the code that does the time formating for the JSON output has a mistake - I don't think it is an issue with the operating system because we are seeing it on a number of different versions. I don't know what programming language dsu is written in, but for an example in c (other languages will be similar): the strftime() function takes the argument %H for 24-hour time and %I for 12-hour time. It is definitely not respecting the LOCALE time format on the computer - it seems to be hard coded this way.

No Events found!

Top