-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
time_tag helper doesn't use Y-m-d format for date #9333
Comments
I'll take a look at it and report back. |
I can reproduce the described report. The question now is, is the code wrong or the documentation. After a little investigation I found:
The bug reports could mean that the documentation once reflected the actual behavior (
I'm in favor of 1.) because I don't see why we should include the needless "00:00:00+00:00". @carlosantoniodasilva @pixeltrix let me know which route to take and I'll submit a patch. |
I'd patch it to use <%= time_tag "Week #{date.cweek}", :datetime => date.strftime('%G-W%V') %> <time datetime="2013-W08">Week 8</time> |
@NARKOZ I see you created a PR, do you want to update it to what @pixeltrix said? |
I've updated docs |
I'm closing this since #9334 was merged. |
I expected:
as in docs.
The text was updated successfully, but these errors were encountered: