Skip to content

Commit

Permalink
Merge pull request #1523 from aulphar/master
Browse files Browse the repository at this point in the history
fix "date" attribute default value #1522
  • Loading branch information
tommy351 committed Nov 1, 2015
2 parents b4172d6 + b8b2eaf commit d64b907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/processor/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function processPost(file) {
if (data.date) {
if (timezone) data.date = common.timezone(data.date, timezone);
} else {
data.date = stats.ctime;
data.date = stats.birthtime;
}

data.updated = common.toDate(data.updated);
Expand Down

0 comments on commit d64b907

Please sign in to comment.