Announcement

Collapse
No announcement yet.

StructToJsonObjectString FDateTime is not formatted as ISO-8601?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    StructToJsonObjectString FDateTime is not formatted as ISO-8601?

    I use FJsonObjectConverter::UStructToJsonObjectString to convert my struct to a JSonstring. My Struct has a field of type FDateTime. However, the output does not contain an ISO-8601 formatted datetime.

    What i expected:

    Code:
    0001-01-01T00:00:00
    what i get
    Code:
    0001.01.01-00.00.00
    it seems i can solve that by using the callback but that isn't exactly "central". Anything i can do, besides wrapping this to get a correct result? (honestly, not formatting a DateTime as ISO-8601 in json looks like a bug to me)
Working...
X