per page, with , order by , clip by
Results of 1 - 8 of about 8 for timesince (0.004 sec.)
Django 1.10.5 リリースノート 12652
Django 1.10.5 リリースノート January 4, 2017 Django 1.10.5 fixes several bugs in 1.10.4. バグ修正 Fixed a crash in the debug view if request.user can't be retrieved, such as if the database is unavailable ( #27567 ). Fixed occasional missin ... g plural forms in JavaScriptCatalog ( #27418 ). Fixed a regression in the timesince and timeuntil filters that caused incorrect results for dates in a leap year ( #27637 ). Fixed a regression where collects ...
https://man.mtool.work/django/6.1/releases/1.10.5.html
Django 1.9.13 リリースノート 10483
Django 1.9.13 リリースノート April 4, 2017 Django 1.9.13 では、1.9.12 に存在した2つのセキュリティの問題と1つのバグを修正しました。今回のリリースが、1.9.x シリーズの最終リリースとなります。 CVE-2017-7233: Open redirect and possible XSS attac ... hat it is not hardened for production use and should be used only as a development aid. バグ修正 Fixed a regression in the timesince and timeuntil filters that caused incorrect results for dates in a leap year ( #27637 ). ...
https://man.mtool.work/django/6.1/releases/1.9.13.html
Django 3.2 リリースノート 10049
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... of objects when using the default value for the transform argument. ユーティリティ The new depth parameter of django.utils.timesince.timesince() and django.utils.timesince.timeuntil() functions allows specifying the number of adjacent time units to return ...
https://man.mtool.work/django/6.1/releases/3.2.html
django.contrib.humanize 8332
django.contrib.humanize humanize は、データに「人間くささ(human touch)」を与えるための Django テンプレートフィルタセットです。 これらのフィルタを有効にするには、 INSTALLED_APPS 設定に 'django.contrib.humanize' を加えます。インストール後、 ... 定に従います。 naturaltime datetime 値に対して、何時間(分、秒)前であったかを表わす文字列を返します。1日以上前である場合は timesince フォーマットにフォールバックします。 datetime 値が未来である場合も、自動的に適切なフレーズが返り値に使用されます。 表示例 ...
https://man.mtool.work/django/6.1/ref/contrib/humanize.html
Django 1.7.2 リリースノート 8332
Django 1.7.2 リリースノート January 2, 2015 Django 1.7.2 fixes several bugs in 1.7.1. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.9.0). バグ修正 Fixed migration's renaming of ... porary tablespace from 100M to 150M). This was required to accommodate growth in Django's own test suite ( #23969 ). Fixed timesince filter translations in Korean ( #23989 ). Fixed the SQLite SchemaEditor to properly add defaults in the absence of a user ...
https://man.mtool.work/django/6.1/releases/1.7.2.html
Django 4.2.1 リリースノート 8332
Django 4.2.1 リリースノート 2023年5月3日 Django 4.2.1 では、 4.2 における深刻度 "moderate" のセキュリティの問題1件と、いくつかのバグを修正しました。 CVE-2023-31047: 1つのフォームフィールドを使用して複数のファイルをアップロードする際の検証の ... のコピーやディープコピーの作成が正しく動作しない場合があるリグレッションを修正しました ( #34482 , #34484 ). Django 4.2 で、 timesince と timeuntil のテンプレートフィルタが、時差が 1 日未満の場合に、UTC 以外のタイムゾーンを持つ datetime に対して正しくない結 ...
https://man.mtool.work/django/6.1/releases/4.2.1.html
組み込みテンプレートタグとフィルタ 7464
組み込みテンプレートタグとフィルタ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーション を使えばインストールされている組み込みタグとカスタムタグのドキュメントを読めるのでお勧めで ... 、 TIME_FORMAT フォーマット指定子が使用されます: {{ value | time }} 上記は以下と同じです: {{ value | time :"TIME_FORMAT" }} timesince 日付を経過時間の形式にフォーマットします (たとえば "4 days, 6 hours")。 オプションの引数として、比較対象とする時刻をとりま ... comment_date が 2006年 6月 1日 08:00 を表す日時オブジェクトであるとき、以下のコードは "8 hours" を返します: {{ blog_date | timesince : comment_date }} タイムゾーン情報を持たない値(offset-naive)と、タイムゾーン情報つき(offset-aware)の値とを比較した場合 ... は、空の文字列を返します。 最小単位は "分" です。比較対象からみて未来にある日時に対しては "0 minutes" を返します。 timeuntil timesince に似ていますが、現在時刻を起点として指定の日付または日時までの時刻を計算します。たとえば今日が2006年6月1日で conference_da ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
Django 1.9 リリースノート 6597
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... jangoTemplates backend gained the ability to register libraries and builtins explicitly through the template OPTIONS . The timesince and timeuntil filters were improved to deal with leap years when given large time spans. The include tag now caches parsed ...
https://man.mtool.work/django/6.1/releases/1.9.html
PREV 1 NEXT