1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

push UTC ISO date string

This commit is contained in:
Matthias Kretschmann 2019-03-29 15:55:50 +01:00
parent 9f77147d42
commit 6d0c21c95f
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -259,7 +259,7 @@ class Publish extends Component<{}, PublishState> {
base: Object.assign(AssetModel.base, {
name: this.state.name,
description: this.state.description,
dateCreated: new Date(this.state.dateCreated).toString(),
dateCreated: new Date(this.state.dateCreated).toISOString(),
author: this.state.author,
license: this.state.license,
copyrightHolder: this.state.copyrightHolder,