#18768: Timezone documentation lacks some FAQ about how to deal with naive/tz
aware
datetimes in the Javascript
-------------------------------+--------------------------
Reporter: void | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords: timezone, tz
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------
Timezone documentation provide information about rendering naive and
timezone aware datetimes in templates, but lacks some information about
working with javascript.
It would be cool if docs answered on questions like:
* Are javascript Date() objects naive or locale-aware?
* How is timezone conversion may be done with javascript?
* How should I populate javascript variable from django template? Is
{{{
{% language "en" %}
var mydatetime = new Date('{{ mydatetime|date:"r" }}');
{% endlanguage %}
}}}
ok or not?
* What about JSON serialized datetimes? Will they be in the correct
timezone automagically? What is a "correct" timezone – client's or
server's?
--
Ticket URL: <https://code.djangoproject.com/ticket/18768>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.