You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the response returned by the Image Gallery API, the format of the date/time field seems to be different from other APIs.
While other APIs return the date and time in UTC format, image-gallery create/read/update returns the date and time in local date and time format.
This is probably not the intended behavior.
Example:
Other APIs
"created_at":"2023-06-10T00:48:20.000000Z"
Image Gallery API
"created_at":"2023-06-10 00:48:20"
Steps to Reproduce
Always occurs on requests to the create/read/update endpoints of image-gallery.
Expected Behaviour
Expect the image-gallery API response to return the date and time in UTC format.
Describe the Bug
In the response returned by the Image Gallery API, the format of the date/time field seems to be different from other APIs.
While other APIs return the date and time in UTC format, image-gallery create/read/update returns the date and time in local date and time format.
This is probably not the intended behavior.
Example:
"created_at":"2023-06-10T00:48:20.000000Z"
"created_at":"2023-06-10 00:48:20"
Steps to Reproduce
Always occurs on requests to the create/read/update endpoints of image-gallery.
Expected Behaviour
Expect the image-gallery API response to return the date and time in UTC format.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v23.05.02
PHP Version
No response
Hosting Environment
Docker image, lscr.io/linuxserver/bookstack:version-v23.05.2
The text was updated successfully, but these errors were encountered: