Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Add date control #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add date control #112

wants to merge 1 commit into from

Conversation

mxstbr
Copy link
Contributor

@mxstbr mxstbr commented May 22, 2016

No description provided.

@@ -6,6 +6,7 @@ const controlTypes = [
'node',
'avatar',
'name',
'date',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change it to dateString? For date I expected a real Date …

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a real date, I just toString it because you can't display it in the UI, Chrome complains.

@nikgraf
Copy link
Member

nikgraf commented May 26, 2016

Do not merge until we properly save/restore Dates to the variation files …

We can use a similar strategy as for function. Simply identify which properties are dates, then replace them with an ID and the store it as new Date(<datestring>)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants