#35153: FORMAT_MODULE_PATH not acting as I expected.
------------------------------------+--------------------------------------
Reporter: Paul Hermans | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: FORMAT_MODULE_PATH | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------------------+--------------------------------------
Comment (by Paul Hermans):
Thanks for the reply, and agree that in the locations you mentioned it is
stated.
I think that my opinion that the docs are not helpful in this regard is
because of a few things
1) I am very new to Django so I have not fought with this issue before.
2) I was under the impression (wrongly) that specifying the format of the
date/time had nothing to do with Translation - not because it doesn't make
sense, but simply because i wasn't actually trying to translate anything,
just control the format(s) of date/times.
You are correct that it is mentioned in the docs where you pointed, but as
an inexperienced user it would have been hugely helpful if the section on
creating custom formats which suggests using FORMAT_MODULE_PATH in the
first place at least made a mention of the importance of the name of that
folder, and that it adheres to standard formats for Locale names as
specified in the places you already pointed to.
Not a major thing, but it might save people who are not yet experts a lot
of grief trying to simply format a date/time.
I appreciate your feedback either way.
--
Ticket URL: <https://code.djangoproject.com/ticket/35153#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d5a4c2d84-bbf7d4a8-70b2-4cc1-aecd-964c540ed2cb-000000%40eu-central-1.amazonses.com.