Fixed validation of fictionalDate input in add/edit story.
the build was successful

This commit is contained in:
2019-03-17 20:29:26 +01:00
parent 3fc9d5de7f
commit 40259b8839
3 changed files with 14 additions and 4 deletions
@@ -25,6 +25,8 @@ module.exports = class {
if (fictionalDate != null) {
fictionalDate = moment.utc(fictionalDate).format("MMM D, YYYY")
} else {
fictionalDate = ""
}
this.state.values = {fictionalDate, title, source, commentMode, commentsLocked}