per page, with , order by , clip by
Results of 1 - 10 of about 14 for localtime (0.009 sec.)
タイムゾーン — Django 6.1 ドキュメント 13303
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » タイムゾーン ¶ 概要 ¶ タイムゾーンのサポートが有効な場合、Django は日時情報をデータベースには UTC で保存し、内部ではタイムゾーンを意識した(aware な ... ず発生します。 When USE_TZ is True , this is useful to preserve backwards-compatibility with applications that still rely on local time. However, as explained above , this isn't entirely reliable, and you should always work with aware datetimes in UTC in yo ... ( tz テンプレートタグライブラリによって提供されています) で、タイムゾーンの転換をコントロールできます。 テンプレートタグ ¶ localtime ¶ ブロック内で、aware な datetime オブジェクトのカレントタイムゾーンへの転換を有効化または無効化します。 このタグは、テンプ ... 粒度の転換をコントロールできます。 テンプレートブロックの変換を有効または無効にするには、次のようにします: {% load tz %} {% localtime on %} {{ value }} {% endlocaltime %} {% localtime off %} {{ value }} {% endlocaltime %} 注釈 USE_TZ の値は、 {% localtime ...
https://man.mtool.work/django/6.1/topics/i18n/timezones.html
タイムゾーン — Django 6.1 ドキュメント 12586
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » タイムゾーン ¶ 概要 ¶ タイムゾーンのサポートが有効な場合、Django は日時情報をデータベースには UTC で保存し、内部ではタイムゾーンを意識した(aware な ... ず発生します。 When USE_TZ is True , this is useful to preserve backwards-compatibility with applications that still rely on local time. However, as explained above , this isn't entirely reliable, and you should always work with aware datetimes in UTC in yo ... ( tz テンプレートタグライブラリによって提供されています) で、タイムゾーンの転換をコントロールできます。 テンプレートタグ ¶ localtime ¶ ブロック内で、aware な datetime オブジェクトのカレントタイムゾーンへの転換を有効化または無効化します。 このタグは、テンプ ... 粒度の転換をコントロールできます。 テンプレートブロックの変換を有効または無効にするには、次のようにします: {% load tz %} {% localtime on %} {{ value }} {% endlocaltime %} {% localtime off %} {{ value }} {% endlocaltime %} 注釈 USE_TZ の値は、 {% localtime ...
https://man.mtool.work/django/6.1/topics/i18n/timezones.html
Django ユーティリティ (django.utils) — Django 6.1 ドキュメント 8594
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django ユーティリティ ( django.utils ) ¶ このドキュメントは、 django.utils のすべての安定したモジュールを対象としています。 django.utils 内のほとんど ... None , the current time zone is unset on entry with deactivate() instead. override は関数デコレータとしても使用できます。 localtime ( value = None , timezone = None ) [ソース] ¶ aware な datetime を、デフォルトでは カレントタイムゾーン へと変換します。 v ... な日時には機能しません。代わりに make_aware() を使用してください。 localdate ( value = None , timezone = None ) [ソース] ¶ localtime() を使用して、指定された datetime を異なるタイムゾーンの date() に変換し、デフォルトでは カレントタイムゾーン を使用します ... す。 now() は常に TIME_ZONE の値に関係なく UTC の時刻を返すことに注意してください。カレントタイムゾーンの時刻を取得するには localtime() を使用します。 is_aware ( value ) [ソース] ¶ value が "aware" であれば True を、"naive" であれば False を返します。この関 ...
https://man.mtool.work/django/6.1/ref/utils.html
Django ユーティリティ (django.utils) — Django 6.1 ドキュメント 8594
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django ユーティリティ ( django.utils ) ¶ このドキュメントは、 django.utils のすべての安定したモジュールを対象としています。 django.utils 内のほとんど ... None , the current time zone is unset on entry with deactivate() instead. override は関数デコレータとしても使用できます。 localtime ( value = None , timezone = None ) [ソース] ¶ aware な datetime を、デフォルトでは カレントタイムゾーン へと変換します。 v ... な日時には機能しません。代わりに make_aware() を使用してください。 localdate ( value = None , timezone = None ) [ソース] ¶ localtime() を使用して、指定された datetime を異なるタイムゾーンの date() に変換し、デフォルトでは カレントタイムゾーン を使用します ... す。 now() は常に TIME_ZONE の値に関係なく UTC の時刻を返すことに注意してください。カレントタイムゾーンの時刻を取得するには localtime() を使用します。 is_aware ( value ) [ソース] ¶ value が "aware" であれば True を、"naive" であれば False を返します。この関 ...
https://man.mtool.work/django/6.1/ref/utils.html
独自のテンプレートタグとフィルタを作る — Django 6.1 ドキュメント 8349
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 独自のテンプレートタグとフィルタを作る ¶ Django のテンプレート言語は、アプリケーションのプレゼンテーションロジックのニーズに対応するように設計された ... 名として関数の名前を利用します。 最後に、 register.filter() は 3 つのキーワード引数 ( is_safe 、 needs_autoescape 、 expects_localtime ) を受け入れます。これらの引数は、後述の フィルタと自動エスケープ と フィルタとタイムゾーン の中で説明されています。 文字列 ... rlize | linebreaksbr }} フィルタとタイムゾーン ¶ datetime オブジェクトを操作するカスタムフィルタを書く場合、通常は expects_localtime フラグを True に設定して登録します: @register . filter ( expects_localtime = True ) def businesshours ( value ): try : ret ...
https://man.mtool.work/django/6.1/howto/custom-template-tags.html
独自のテンプレートタグとフィルタを作る — Django 6.1 ドキュメント 8349
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 独自のテンプレートタグとフィルタを作る ¶ Django のテンプレート言語は、アプリケーションのプレゼンテーションロジックのニーズに対応するように設計された ... 名として関数の名前を利用します。 最後に、 register.filter() は 3 つのキーワード引数 ( is_safe 、 needs_autoescape 、 expects_localtime ) を受け入れます。これらの引数は、後述の フィルタと自動エスケープ と フィルタとタイムゾーン の中で説明されています。 文字列 ... rlize | linebreaksbr }} フィルタとタイムゾーン ¶ datetime オブジェクトを操作するカスタムフィルタを書く場合、通常は expects_localtime フラグを True に設定して登録します: @register . filter ( expects_localtime = True ) def businesshours ( value ): try : ret ...
https://man.mtool.work/django/6.1/howto/custom-template-tags.html
索引 — Django 6.1 ドキュメント 8122
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | ... EYFILE setting EMAIL_SUBJECT_PREFIX setting email_template_name (PasswordResetView の属性) EMAIL_TIMEOUT setting EMAIL_USE_LOCALTIME setting EMAIL_USE_SSL setting EMAIL_USE_TLS setting email_user() (models.User のメソッド) EmailAlternative (django.core.ma ... .locale のクラス) localize template filter template tag localize (Field の属性) localized_fields (ModelFormOptions の属性) localtime template filter template tag localtime() (django.utils.timezone モジュール) location (FileSystemStorage の属性) (InMemoryS ...
https://man.mtool.work/django/6.1/genindex.html
索引 — Django 6.1 ドキュメント 8122
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | ... EYFILE setting EMAIL_SUBJECT_PREFIX setting email_template_name (PasswordResetView の属性) EMAIL_TIMEOUT setting EMAIL_USE_LOCALTIME setting EMAIL_USE_SSL setting EMAIL_USE_TLS setting email_user() (models.User のメソッド) EmailAlternative (django.core.ma ... .locale のクラス) localize template filter template tag localize (Field の属性) localized_fields (ModelFormOptions の属性) localtime template filter template tag localtime() (django.utils.timezone モジュール) location (FileSystemStorage の属性) (InMemoryS ...
https://man.mtool.work/django/6.1/genindex.html
Django 1.5 リリースノート — Django 6.1 ドキュメント 7894
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.5 リリースノート ¶ February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompat ... rresponding Python objects. django.utils.timezone provides a helper for converting aware datetimes between time zones. See localtime() . The generic views support OPTIONS requests. Management commands do not raise SystemExit any more when called by code f ...
https://man.mtool.work/django/6.1/releases/1.5.html
Django 1.5 リリースノート — Django 6.1 ドキュメント 7894
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.5 リリースノート ¶ February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompat ... rresponding Python objects. django.utils.timezone provides a helper for converting aware datetimes between time zones. See localtime() . The generic views support OPTIONS requests. Management commands do not raise SystemExit any more when called by code f ...
https://man.mtool.work/django/6.1/releases/1.5.html
PREV 1 2 NEXT