summaryrefslogtreecommitdiff
path: root/src/date.c
AgeCommit message (Expand)AuthorLines
10 daysThe 'utc' time modifier should not cancel 'subsec'.drh-0/+3
13 daysDo not allow timezones on a HH:MM:SS offset modifier.drh-7/+10
13 daysClean up excess commentary in the initial prototype fix.drh-17/+9
2026-11-07Experimental AI-assisted proof of concept for date modifier reports 7757ac113...karl-2/+23
2026-10-17Fix 24:00:00 rounding of dates with negative years.drh-1/+2
2026-10-15Fixes to the handling of time 24:00:00.drh-17/+32
2026-09-24In date/time functions, the hour can be 24 as long as the minutes anddrh-0/+9
2026-07-11Minor change to the "weekday N" modifier in the date/time functionsdrh-1/+1
2026-07-01Add "end of day/month/year" modifiers to date/time functions.drh-1/+46
2026-07-01Enhance the "weekday N" modifier for date/time functions such that ifdrh-7/+15
2026-06-19Use SQLITE_FINISH in a few places in the core, to help ensure that path isdrh-30/+30
2026-06-19Further refinements and uses for sqlite3_result_str().drh-2/+2
2026-02-26Fix an inconsequential typo in the output of the datedebug() SQL function.drh-1/+1
2026-02-16Refactor the sqlite3AtoF() routine so that it requires a zero-terminateddrh-4/+10
2025-09-28Fix harmless typo in a comment.drh-2/+2
2025-09-17In the date/time functions, a timezone suffix of "+00:00" should workdrh-0/+4
2025-02-27Approximately 100 typo corrections spanning the whole tree, submitted via [fo...stephan-1/+1
2025-01-21Fix date/time computations to deal with the sub-millisecond roundingdrh-1/+4
2024-08-19Attempt to fix date/time calculations for days earlier than 0400-03-01.drh-5/+5
2024-06-11Change constant expressions to pre-computed constants, because apparentlydrh-2/+2
2024-03-04Fix a compiler warning in date.c. Update makefiles to include all necessarydrh-1/+1
2024-03-04Adjust date/time functions so that they do a better job of keeping trackdrh-18/+60
2024-03-04Fix assert() statements in date/time computations: The month and day numbersdrh-3/+3
2024-03-03Back out the previous change. Replace it with new date modifiers "ceiling"drh-25/+75
2024-03-02Change the magic time-interval names that do truncate-to-same-month to bedrh-19/+19
2024-03-02Proof-of-concept for new time-interval operator "pg-month" and "pg-year" thatdrh-9/+26
2024-01-21Fix a harmless typo in a comment.drh-1/+2
2024-01-20Simplifications to the strftime() logic.drh-26/+38
2024-01-20Implement a new algorithm for computing ISO week values in strftime() baseddrh-45/+16
2024-01-18Add support in the strftime() SQL function for conversion letters %G, %g,drh-24/+122
2023-11-04Ensure that the YYYY-MM-DD input to date and time functions has been normalizeddrh-0/+6
2023-08-29New conversion letters added to strftime(): %e, %k, %I, %l, %R, %P, %p, %T, %u.drh-8/+43
2023-06-19Fix large integer constants so that they work on older C compilers.drh-2/+2
2023-06-17In date/time functions, fix the rendering of "subsecond" and thedrh-42/+8
2023-06-16Address various harmless compiler warnings fromdrh-3/+4
2023-06-14Work around what appears to be a GCC 32-bit optimization problem in thedrh-0/+31
2023-06-13Extended the time-diff format so that it can have a 5-digit year. This enablesdrh-12/+21
2023-06-07Fix straggler misspellings and tidy the custom dictionary. Also include picku...larrybr-1/+1
2023-05-30Simplifications to the new timediff() logic.drh-19/+7
2023-05-30All date/time modifiers of the form (+/-)YYYY-MM-DD without the followingdrh-4/+14
2023-05-30Problems fixed. All tests are passing now.drh-6/+4
2023-05-30Improvements to the timediff() function. Test cases added. Not all testdrh-15/+85
2023-05-29New date/time modifier: (+|-)YYYY-MM-DD HH:MM(:SS.SSS)?drh-2/+36
2023-05-29Prototype implementation of a proposed "timediff(X,Y)" SQL function.drh-13/+77
2023-04-21Add a new modifier to date/time functions: "subsecond". May bedrh-18/+73
2023-02-11Change a variable from 32 to 64-bits to avoid a harmless compiler warningdrh-1/+1
2023-02-08Back out the 'txn' enhancement to date/time functions. The duration of adrh-21/+12
2023-02-08Revert the behavior of date/time functions with no arguments so that theydrh-7/+10
2023-02-08Change the behavior of date-time functions without any arguments (and thusdrh-2/+2
2023-02-07Simplify the code and add test cases.drh-21/+6