-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix date parsing in file names to be stricter #5609
Conversation
@@ -492,4 +492,33 @@ def assert_equal_value(key, one, other) | |||
assert_equal true, File.file?(@dest_file) | |||
end | |||
end | |||
|
|||
context "a document in a collection with dash-separated numeric file name" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't really need these tests because most others in this spec file will fail if the regex is wrong, but i added them for consistency
Before this pull, the expected |
@ashmaroli okay, that is weird. i'll have a look |
@fene these two files got ignored with this pull:
They were ignored because they have This could potentially break some existing sites.. so a documentation-update or a deprecation-release is warranted.. |
ping @jekyll/core @jekyll/documentation what do you think about this? |
I guess we're covered documentation-wise. and that section has been around for years now |
^ weird travis error on the latest build |
Don't worry about it.. its a bug.. occurs randomly.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done, @fene!
@jekyllbot: merge +bug |
This is a regression introduced by #5609.
this fixes #5603