Results of 1 - 10 of about 21 for datetimes (0.073 sec.)
- タイムゾーン — Django 4.0.6 ドキュメント 14697
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
げます。 Unfortunately, during DST transitions, some datetimes don't exist or are ambiguous. That's why you shoul ...
きません。そして、常に コード内では UTC で aware な datetimes を扱う必要があります。、 fromtimestamp() を使って、 ...
are な datetime オブジェクトを返します。 Converted datetimes that don't exist or are ambiguous because they fal ...
ベース ¶ PostgreSQL ¶ The PostgreSQL backend stores datetimes as timestamp with time zone . In practice, this me ...
-
https://man.plustar.jp/django/topics/i18n/timezones.html
- [similar]
- 設定 — Django 4.0.6 ドキュメント 11112
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hen USE_TZ is True and this option is set, reading datetimes from the database returns aware datetimes in this ...
g. SQLite, MySQL, Oracle), Django reads and writes datetimes in local time according to this option if it is se ...
n't. Changing the connection time zone changes how datetimes are read from and written to the database. If Djan ...
should leave this option unset. It's best to store datetimes in UTC because it avoids ambiguous or nonexistent ...
-
https://man.plustar.jp/django/ref/settings.html
- [similar]
- Django 1.6 release notes — Django 4.0.6 ドキュメント 10215
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
limitation was lifted in Django 1.6. Use QuerySet.datetimes() to perform time zone aware aggregation on a Date ...
es with mysql_tzinfo_to_sql . Addition of QuerySet.datetimes() ¶ When the time zone support added in Django 1.4 ...
ix this, Django 1.6 introduces a new API, QuerySet.datetimes() . This requires a few changes in your code. Quer ...
. It used to return a list of datetime . QuerySet.datetimes() returns a list of datetime . QuerySet.dates() no ...
-
https://man.plustar.jp/django/releases/1.6.html
- [similar]
- Django 3.1 release notes — Django 4.0.6 ドキュメント 8608
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
lways be retained if provided, with timezone-aware datetimes being returned even when USE_TZ is False . Additio ...
argument. The new is_dst parameter of the QuerySet.datetimes() determines the treatment of nonexistent and ambi ...
guous datetimes. The new F expression bitxor() method allows bitwi ...
-
https://man.plustar.jp/django/releases/3.1.html
- [similar]
- Database Functions — Django 4.0.6 ドキュメント 8422
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
minute': 30, 'second': 1} When USE_TZ is True then datetimes are stored in the database in UTC. If a different ...
ot pytz should interpret nonexistent and ambiguous datetimes in daylight saving time. By default (when is_dst=N ...
one ), pytz raises an exception for such datetimes. The is_dst parameter is deprecated and will be re ...
he date up to kind and allow grouping or filtering datetimes with less precision. expression must have an outpu ...
-
https://man.plustar.jp/django/ref/models/database-functions.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 8422
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
'pub_date' , 'day' ) [datetime.date(2005, 3, 20)] datetimes() ¶ datetimes ( field_name , kind , order = 'ASC' ...
the results. tzinfo defines the time zone to which datetimes are converted prior to truncation. Indeed, a given ...
ot pytz should interpret nonexistent and ambiguous datetimes in daylight saving time. By default (when is_dst=N ...
one ), pytz raises an exception for such datetimes. バージョン 4.0 で非推奨: The is_dst parameter is ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- Django 1.6.1 release notes — Django 4.0.6 ドキュメント 8422
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
okup for prefetch_related (#21410). Fixed Queryset.datetimes raising AttributeError in some situations (#21432) ...
-
https://man.plustar.jp/django/releases/1.6.1.html
- [similar]
- Django 1.9 リリースノート — Django 4.0.6 ドキュメント 8422
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
E option for interacting with databases that store datetimes in local time and don't support time zones when US ...
time zone aware global adapters and converters for datetimes ¶ Django no longer registers global adapters and c ...
s to such queries, you should turn them into naive datetimes in UTC: from django.utils import timezone param = ...
time zone aware global adapters and converters for datetimes Template tag modules are imported when templates a ...
-
https://man.plustar.jp/django/releases/1.9.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 8236
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
d time display for users around the world. Storing datetimes in UTC for database portability and interoperabili ...
d the XML serializer to use the ISO8601 format for datetimes. The letter T is used to separate the date part fr ...
zone support, this flag was changed to False , and datetimes are now stored without time-zone information in SQ ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- Django 4.0 release notes — Django 4.0.6 ドキュメント 8236
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
orms and templates, as well as operations on aware datetimes in UTC are unaffected. However, if you are working ...
e also deprecated: django.db.models.query.QuerySet.datetimes() django.db.models.functions.Trunc() django.db.mod ...
-
https://man.plustar.jp/django/releases/4.0.html
- [similar]