Fixed issue on SS entity serialization
converted last edited from Chicago Timezone to UTC Change-Id: I70972a3c27b3470dee769a0d2a1d03f11a215feb
This commit is contained in:
parent
206be09adb
commit
d85a83dcb7
@ -21,7 +21,7 @@ class SilverStripeSerializer extends AbstractSerializer
|
||||
protected static $array_mappings = [
|
||||
|
||||
'Id' => 'id:json_int',
|
||||
'Created' => 'created:datetime_epoch',
|
||||
'LastEdited' => 'last_edited:datetime_epoch',
|
||||
'CreatedUTC' => 'created:datetime_epoch',
|
||||
'LastEditedUTC' => 'last_edited:datetime_epoch',
|
||||
];
|
||||
}
|
@ -21,7 +21,6 @@ final class SummitEntityEventSerializer extends SilverStripeSerializer
|
||||
(
|
||||
'EntityId' => 'entity_id:json_int',
|
||||
'EntityClassName' => 'class_name:json_string',
|
||||
'CreatedUTC' => 'created:datetime_epoch',
|
||||
'Type' => 'type',
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user