... 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 collectstatic overwrot ... ... 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 ). ... ... ィープコピーの作成が正しく動作しない場合があるリグレッションを修正しました ( #34482 , #34484 ). Django 4.2 で、 timesince と timeuntil のテンプレートフィルタが、時差が 1 日未満の場合に、UTC 以外のタイムゾーンを持つ datetime に対して正しくない結果を返すという ... ... 較した場合は、空の文字列を返します。 最小単位は "分" です。比較対象からみて未来にある日時に対しては "0 minutes" を返します。 timeuntil timesince に似ていますが、現在時刻を起点として指定の日付または日時までの時刻を計算します。たとえば今日が2006年6月1日で con ... ference_date が 2006年6月29日の値を保持する日付インスタンスだったとすれば、 {{ conference_date|timeuntil }} は "4 weeks" を返します。 オプションの引数として、 ( 現在時刻 の代わりに) 比較対象として使う時刻をとります。 例えば、 f ... rom_date が 2006年 6月 22日 の場合、以下のコードは "1 week" を返します: {{ conference_date | timeuntil : from_date }} タイムゾーン情報を持たない値(offset-naive)と、タイムゾーン情報つき(offset-aware)の値とを比較した場合は、 ... ... ransform 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. バリデータ Built-in validators now include the ... ... 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 templates obj ... 2026年10月08日