Skip to content

Commit

Permalink
Updating deserialize function. Fixes Polymer#4696
Browse files Browse the repository at this point in the history
  • Loading branch information
ronak1009 committed Jun 21, 2017
1 parent 48fdac7 commit 277ca89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mixins/property-accessors.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@
break;

case Date:
if(!isNaN(value)){
value = Number(value);
}
outValue = new Date(value);
break;

Expand Down

0 comments on commit 277ca89

Please sign in to comment.