I am attempting to display columns that contain full timestamps in a ListGrid. However, only the American format works properly for full stamps at the moment, which is useless outside America.
According to the documentation, DateDisplayFormat.TOSERIALIZEABLEDATE should display:
YYYY-MM-SS HH:mm:SS
But instead there is a bug, it's only displaying YYYY-MM-DD. I.e. it's dropping the time part.
Other formats that include the time component, correctly display it for the exact same dataset, so I know that this isn't a data issue.
I would add that as the YYYY-MM-DD HH:mm:SS format is an international format (as well as the international standard), we really should have this as a proper, standalone entry in the DateDisplayFormat enum, for example, adding this entry to the end of the list:
ISO("YYYY-MM-DD HH:mm:SS");
Unfortunately the DateUtil settings don't seem to be working either. Right now the only way to get a reasonable date display is to use TOLOCALESTRING which is absolutely aweful because it's way too long and wordy. Totally messes up the ListGrid.
Has someone managed to work around this problem? I desperately need to sort it out.
According to the documentation, DateDisplayFormat.TOSERIALIZEABLEDATE should display:
YYYY-MM-SS HH:mm:SS
But instead there is a bug, it's only displaying YYYY-MM-DD. I.e. it's dropping the time part.
Other formats that include the time component, correctly display it for the exact same dataset, so I know that this isn't a data issue.
I would add that as the YYYY-MM-DD HH:mm:SS format is an international format (as well as the international standard), we really should have this as a proper, standalone entry in the DateDisplayFormat enum, for example, adding this entry to the end of the list:
ISO("YYYY-MM-DD HH:mm:SS");
Unfortunately the DateUtil settings don't seem to be working either. Right now the only way to get a reasonable date display is to use TOLOCALESTRING which is absolutely aweful because it's way too long and wordy. Totally messes up the ListGrid.
Has someone managed to work around this problem? I desperately need to sort it out.
Comment