Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
0c100f8b
Kaydet (Commit)
0c100f8b
authored
Mar 22, 2018
tarafından
Alasdair Nicol
Kaydeden (comit)
Tim Graham
Mar 22, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clarified docs about ISO 8601 week numbering.
üst
9aca67be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
database-functions.txt
docs/ref/models/database-functions.txt
+4
-3
querysets.txt
docs/ref/models/querysets.txt
+1
-1
No files found.
docs/ref/models/database-functions.txt
Dosyayı görüntüle @
0c100f8b
...
@@ -221,9 +221,10 @@ returned when this timezone is active will be the same as above except for:
...
@@ -221,9 +221,10 @@ returned when this timezone is active will be the same as above except for:
The ``week`` ``lookup_type`` is calculated based on `ISO-8601
The ``week`` ``lookup_type`` is calculated based on `ISO-8601
<https://en.wikipedia.org/wiki/ISO-8601>`_, i.e.,
<https://en.wikipedia.org/wiki/ISO-8601>`_, i.e.,
a week starts on a Monday. The first week is the one with the majority
a week starts on a Monday. The first week of a year is the one that
of the days, i.e., a week that starts on or before Thursday. The value
contains the year's first Thursday, i.e. the first week has the majority
returned is in the range 1 to 52 or 53.
(four or more) of its days in the year. The value returned is in the range
1 to 52 or 53.
Each ``lookup_name`` above has a corresponding ``Extract`` subclass (listed
Each ``lookup_name`` above has a corresponding ``Extract`` subclass (listed
below) that should typically be used instead of the more verbose equivalent,
below) that should typically be used instead of the more verbose equivalent,
...
...
docs/ref/models/querysets.txt
Dosyayı görüntüle @
0c100f8b
...
@@ -2888,7 +2888,7 @@ in the database <database-time-zone-definitions>`.
...
@@ -2888,7 +2888,7 @@ in the database <database-time-zone-definitions>`.
For date and datetime fields, return the week number (1-52 or 53) according
For date and datetime fields, return the week number (1-52 or 53) according
to `ISO-8601 <https://en.wikipedia.org/wiki/ISO-8601>`_, i.e., weeks start
to `ISO-8601 <https://en.wikipedia.org/wiki/ISO-8601>`_, i.e., weeks start
on a Monday and the first week
starts on or before
Thursday.
on a Monday and the first week
contains the year's first
Thursday.
Example::
Example::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment