mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Update dates to ISO
This commit is contained in:
parent
0d373b8866
commit
25d7a798ae
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ export const createFromObject = async (object: LysandObjectType) => {
|
|||
return await client.lysandObject.create({
|
||||
data: {
|
||||
authorId: author?.id,
|
||||
created_at: new Date(object.created_at),
|
||||
created_at: new Date(object.created_at).toISOString(),
|
||||
extensions: object.extensions || {},
|
||||
remote_id: object.id,
|
||||
type: object.type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue