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

Fix date field persist #385

Merged
merged 2 commits into from
Apr 21, 2017
Merged

Conversation

Benaiah
Copy link
Contributor

@Benaiah Benaiah commented Apr 20, 2017

Switches back to custom frontmatter stringification
until support lands in the preliminaries lib. This is necessary
because we use custom schemas for certain data types,
such as dates and times.

(This is a copy of #384 with history rewritten to use @josephearl's alternate implementation).

- Summary

Date fields can no longer be changed through the CMS. Regression from #348.

- Test plan

Moved the Published Date field in the example project out of metadata and into standard fields, so persisting dates can be observed in deploy previews. Tested locally. Existing automated tests pass.

- Description for the changelog

Fix date/datetime field persisting

Shawn Erquhart and others added 2 commits April 20, 2017 16:05
Switches back to custom frontmatter stringification
until support lands in preliminaries. This is necessary
because we use custom schemas for certain data types,
such as dates and times.
Copy link
Contributor

@calavera calavera left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@josephearl josephearl left a comment

Choose a reason for hiding this comment

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

LGTM

@calavera calavera merged commit 365c035 into master Apr 21, 2017
@calavera calavera deleted the fix-date-field-persist-alternate-version branch April 21, 2017 17:34
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

Successfully merging this pull request may close these issues.

3 participants