Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Blog archive URLs in templates can break due to localized dates #30

Open
aehlke opened this Issue · 0 comments

1 participant

@aehlke

If I set the site language code to Japanese, then the Django template filter for date formatting will output "11月" instead of "nov", for example, which will break the blog_archive_month URL in blog_base.html (and possibly other places -- I haven't investigated). This URL contains the month and year as arguments, which should not be localized. In the Django dev version, you can fix this using the unlocalize template tag filter -- not sure how to fix this in Django 1.3 or 1.2 or earlier though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.