[FEATURE] Change date format in (everywhere) <quarantine exports> to standard format

I feel this should apply across the board - "E MMM DD HH:mm:ss Z YYYY" is simply the worst time format for anything useful :frowning: It's almost completely unsearchable (usefully)

But for this topic, can this be changed in the quarantine export, please, to ISO format YYYY-MM-DDTHH :mm:ss.msTZ?

5 Likes


ughhh

If system.date.parse can't parse the format by default, why is this the date format used everywhere? :cry:

system.dataset.toCSV makes me sad too... I can't use this function simply because of the fact the datetime format is useless

image

Interestingly, it only ruins the date format if you set localized=True which is what I want to do

You could pass your dataset through system.dataset.formatDates first.
It transforms dates into strings, so you'd handle localization there, and toCSV doesn't have to care.

4 Likes