Needs work
Project:
JSON:API Extras
Version:
8.x-3.12
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Oct 2019 at 16:15 UTC
Updated:
15 Jun 2021 at 11:22 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
vacho commentedComment #3
vacho commentedI propose this patch that adds a new "Enhancer" to let Timestamp value.
This because for several reasons timestamp was modified. See https://www.drupal.org/node/2982678
Comment #4
wim leersThanks! If this had tests, it'd be easy to land this though… :)
Comment #5
bbralaCurrently there are no real tests for the enhancers anywhere, so that might not be the real issue.
But; i think you can just use the DateTime enhancer and use the format: "U" for a unix timestamp. That would pretty much do the same right?