Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persist date elements of a project as epoch date #644

Open
zfi opened this issue Jul 16, 2021 · 1 comment
Open

Persist date elements of a project as epoch date #644

zfi opened this issue Jul 16, 2021 · 1 comment
Assignees

Comments

@zfi
Copy link
Contributor

zfi commented Jul 16, 2021

Data elements of the Project object are persisted to storage a localDate string, epoch date format or simply "NaN". This request is an attempt to standardize the storage format of dates in the Project file. Going forward, all date elements should be stored as epoch dates.

There is currently code in Solo that is able to address the variety of existing date formats.

@zfi zfi mentioned this issue Jul 16, 2021
@zfi
Copy link
Contributor Author

zfi commented Jul 27, 2021

The project metadata is stored within the SVG footer element. The timestamps are currently persisted as human-readable date-time text but the text is not displayed in the watermark because it is translated to an area below the watermark display box.

It seems that all that is needed is to convert the timestamp strings to a text representation of the epoch value. The project loader is already aware of this date format and should load it without any issues.

@zfi zfi self-assigned this Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant