Skip to content

Commit

Permalink
Explicitly construct date to avoid moment/moment#1407 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartpb committed Sep 21, 2015
1 parent ba35419 commit ad90a53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routes/resume/index.jade
@@ -1,7 +1,8 @@
extends ../layout.jade

mixin microdate(datestr)
abbr(attributes, title=moment(datestr).format("YYYY-MM-DD"))= datestr
abbr(attributes,
title=moment(new Date(datestr)).format("YYYY-MM-DD"))= datestr

block head
title Stuart P. Bentley: résumé
Expand Down

0 comments on commit ad90a53

Please sign in to comment.