aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2024-01-21 21:20:33 +0000
committerdrh <>2024-01-21 21:20:33 +0000
commit199b0b2d6ef338a444ad85c39ea79012a8740369 (patch)
treeb83248226b41a419e8db2d62730c46f30441c025 /src
parentf28bff745c778598ef1740e4cbb1a44b176aac83 (diff)
downloadsqlite-199b0b2d6ef338a444ad85c39ea79012a8740369.tar.gz
sqlite-199b0b2d6ef338a444ad85c39ea79012a8740369.zip
Fix a harmless typo in a comment.
FossilOrigin-Name: 382a8f94bffef3e5f715116e363a30e21e2c53cd42d4959dfbe90c4624143e6d
Diffstat (limited to 'src')
-rw-r--r--src/date.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c
index e468925d5..026d83391 100644
--- a/src/date.c
+++ b/src/date.c
@@ -1242,7 +1242,8 @@ static void dateFunc(
** In other words, compute the zero-based day number for the
** current year:
**
-** Jan01 = 0, Jan02 = 2, ... Dec31 = 364 or 365.
+** Jan01 = 0, Jan02 = 1, ..., Jan31 = 30, Feb01 = 31, ...
+** Dec31 = 364 or 365.
*/
static int daysAfterJan01(DateTime *pDate){
DateTime jan01 = *pDate;