PostComparer#post_date use the provided date instead of re-parsing the whole name.
This commit is contained in:
parent
97efa0f0ce
commit
4883a24363
|
@ -18,8 +18,8 @@ module Jekyll
|
|||
end
|
||||
|
||||
def post_date
|
||||
@post_date ||= Utils.parse_date(name,
|
||||
"\"#{name}\" does not contain valid date and/or title.")
|
||||
@post_date ||= Utils.parse_date(date,
|
||||
"\"#{date}\" does not contain valid date and/or title.")
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
|
|
Loading…
Reference in New Issue