Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
date.c
da5f813
Approximately 100 typo corrections spanning the whole tree, submitted via [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text.
by stephan
· 5 months ago
2555485
Fix date/time computations to deal with the sub-millisecond rounding
by drh
· 6 months ago
aa2258e
Attempt to fix date/time calculations for days earlier than 0400-03-01.
by drh
· 11 months ago
941602a
Change constant expressions to pre-computed constants, because apparently
by drh
· 1 year, 1 month ago
1828149
Fix a compiler warning in date.c. Update makefiles to include all necessary
by drh
· 1 year, 5 months ago
3f273db
Adjust date/time functions so that they do a better job of keeping track
by drh
· 1 year, 5 months ago
8d25d07
Fix assert() statements in date/time computations: The month and day numbers
by drh
· 1 year, 5 months ago
aefa7af
Back out the previous change. Replace it with new date modifiers "ceiling"
by drh
· 1 year, 5 months ago
f52afaf
Change the magic time-interval names that do truncate-to-same-month to be
by drh
· 1 year, 5 months ago
month-truncate
6964005
Proof-of-concept for new time-interval operator "pg-month" and "pg-year" that
by drh
· 1 year, 5 months ago
199b0b2
Fix a harmless typo in a comment.
by drh
· 1 year, 6 months ago
514bf99
Simplifications to the strftime() logic.
by drh
· 1 year, 6 months ago
f08287c
Implement a new algorithm for computing ISO week values in strftime() based
by drh
· 1 year, 6 months ago
d0603ed
Add support in the strftime() SQL function for conversion letters %G, %g,
by drh
· 1 year, 6 months ago
d4677f1
Ensure that the YYYY-MM-DD input to date and time functions has been normalized
by drh
· 1 year, 9 months ago
a910f3f
New conversion letters added to strftime(): %e, %k, %I, %l, %R, %P, %p, %T, %u.
by drh
· 1 year, 11 months ago
1be61ad
Fix large integer constants so that they work on older C compilers.
by drh
· 2 years, 1 month ago
0587a1a
In date/time functions, fix the rendering of "subsecond" and the
by drh
· 2 years, 1 month ago
56a4107
Address various harmless compiler warnings from
by drh
· 2 years, 1 month ago
0c04f2e
Work around what appears to be a GCC 32-bit optimization problem in the
by drh
· 2 years, 1 month ago
d34ce81
Extended the time-diff format so that it can have a 5-digit year. This enables
by drh
· 2 years, 1 month ago
55be216
Fix straggler misspellings and tidy the custom dictionary. Also include pickups from [forum:/info/c61fb09afd|forum post c61fb09afd].
by larrybr
· 2 years, 1 month ago
spell-check
7d65f1b
Simplifications to the new timediff() logic.
by drh
· 2 years, 2 months ago
timediff
30bb082
All date/time modifiers of the form (+/-)YYYY-MM-DD without the following
by drh
· 2 years, 2 months ago
36a5f1e
Problems fixed. All tests are passing now.
by drh
· 2 years, 2 months ago
6abbef8
Improvements to the timediff() function. Test cases added. Not all test
by drh
· 2 years, 2 months ago
1936a19
New date/time modifier: (+|-)YYYY-MM-DD HH:MM(:SS.SSS)?
by drh
· 2 years, 2 months ago
0cbc214
Prototype implementation of a proposed "timediff(X,Y)" SQL function.
by drh
· 2 years, 2 months ago
11d5efd
Add a new modifier to date/time functions: "subsecond". May be
by drh
· 2 years, 3 months ago
0c55b5f
Change a variable from 32 to 64-bits to avoid a harmless compiler warning
by drh
· 2 years, 5 months ago
601e4d4
Back out the 'txn' enhancement to date/time functions. The duration of a
by drh
· 2 years, 5 months ago
ed092fc
Revert the behavior of date/time functions with no arguments so that they
by drh
· 2 years, 5 months ago
c1dab9d
Change the behavior of date-time functions without any arguments (and thus
by drh
· 2 years, 5 months ago
3393ee7
Simplify the code and add test cases.
by drh
· 2 years, 5 months ago
d4af882
Add support for the 'txn' argument to date/time functions that works like
by drh
· 2 years, 5 months ago
26e817f
Avoid trying to cast an over-sized floating point value into an integer.
by drh
· 3 years ago
a5cc692
Improve accuracy of julian day milliseconds calculation.
by larrybr
· 3 years ago
ea84011
Fix the 'localtime' modifier in date/time functions so that it preserves
by drh
· 3 years, 5 months ago
16f56e8
Fix compiler warnings for older compilers (ex: gcc 4.0.1 powerpc-apple-darwin).
by drh
· 3 years, 5 months ago
b30af02
Fix SQLITE_TESTCTRL_LOCALTIME_FAULT so that it works even if mutexes are
by drh
· 3 years, 5 months ago
d7e185c
Enhance SQLITE_TESTCTRL_LOCALTIME_FAULT so that is able to install an
by drh
· 3 years, 5 months ago
eadccaa
Performance improve to the 'localtime' and 'utc' modifiers for date/time
by drh
· 3 years, 5 months ago
522608d
Faster implementation of the date(), time(), and datetime() functions.
by drh
· 3 years, 5 months ago
4b51e8b
Enforce the restriction that 'unixepoch' only works as the first modifier
by drh
· 3 years, 6 months ago
a1c8151
Fix some of the new date/time function features to comply with the spec.
by drh
· 3 years, 6 months ago
b131bf7
Reduce the size of the compiled binary by a couple of hundred bytes by
by drh
· 3 years, 7 months ago
969c464
Clarity tweak for date.c
by larrybr
· 3 years, 7 months ago
1312a9c
Add the unixepoch() function and the 'auto' and 'julianday' modifiers.
by drh
· 3 years, 8 months ago
unixepoch
13ca72d
Fix harmless compiler warnings, mostly caused by prior efforts to get static
by drh
· 3 years, 10 months ago
5bf4715
Add the sqlite3ResultStrAccum() internal interface to simplify the
by drh
· 3 years, 10 months ago
a7d8d4a
Date/time functions with no arguments (ex: date() or time()) should be
by drh
· 4 years, 4 months ago
82b0f10
Add the sqlite3Int64ToText() routine and use it to convert integers to text,
by drh
· 5 years ago
ccb2113
Refactoring various names. No changes in the resulting machine code.
by drh
· 5 years ago
b1243a6
MSVC does not allow constant expressions as initializers for
by drh
· 5 years ago
915530d
Improved rounding in the 'unixepoch' feature of the date and time functions.
by drh
· 6 years ago
9a27822
When casting string values into numeric and the string has a prefix that looks
by drh
· 6 years ago
a0951d8
Fix typo in comment. No changes to code.
by mistachkin
· 8 years ago
6e97f8e
Combine the Parse.ckBase and Parse.iSelfTab fields into just Parse.iSelfTab.
by drh
· 8 years ago
3e34eab
Allow indexes to be created on date/time functions as long as the 'now'
by drh
· 8 years ago
0c3233b
Fix an assertion fault found by OSSFuzz.
by drh
· 8 years ago
f3f883f
Remove an redundant function call from the date/time function implementation.
by drh
· 8 years ago
35a0925
Fix another corner-case for the 'start of ...' modifier in the date/time
by drh
· 8 years ago
9715f7f
Fix a bug in the 'start of ...' date/time modifiers when they follow a
by drh
· 8 years ago
fb4e3a3
Encode a 64-bit integer literal in date.c as a constant expression so that
by drh
· 9 years ago
d12602a
Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE.
by drh
· 9 years ago
e6ad171
Fix a harmless redundant local variable declaration in the date/time function
by drh
· 9 years ago
6d4e9c3
Simplify the date/time function logic for improved rebustness and also to
by drh
· 9 years ago
861a568
Extend the valid range of 'unixepoch' dates from JulianDay 0 through 9999-12-31.
by drh
· 9 years ago
b5489b8
More improvements to boundary cases in the date/time functions, flowing out
by drh
· 9 years ago
d76a902
Further changes to the date/time functions to suppress harmless signed
by drh
· 9 years ago
3edb157
The documentation says that the built-in date-time functions give undefined
by drh
· 9 years ago
c330887
Fix a unused variable that comes up with -DSQLITE_OMIT_DATETIME_FUNCS.
by drh
· 9 years ago
8366ddf
Add and adjust comments.
by mistachkin
· 9 years ago
winCeLocalTime
0cedb96
Further refinements.
by mistachkin
· 9 years ago
c0d10c8
Merge updates from trunk.
by mistachkin
· 9 years ago
80738d9
Improvements to the application-defined function mechanism so that it is
by drh
· 9 years ago
many-app-functions
575fad6
Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority
by drh
· 9 years ago
oom-handling
6cc16fc
Cleanup localtime() support for Windows CE.
by mistachkin
· 9 years ago
3349620
Simplification to the ISO8610 parser in the imnplementation of date/time
by drh
· 10 years ago
caeca51
Enhance the 'utc' modifier on date/time functions so that if the LHS is
by drh
· 10 years ago
1d85e40
Make the distinction between truly deterministic functions and date/time
by drh
· 10 years ago
618ee61
Attempt to fix harmless warnings generated by GCC and Clang runtime analyzers.
by drh
· 10 years ago
0ede9eb
Improvements to compile-time-option hygiene. Use "#if OPTION" instead of
by drh
· 11 years ago
655814d
Fix three crash problems discovered by afl-fuzz. Ticket [a59ae93ee990a55].
by drh
· 11 years ago
86a11b8
Fix harmless typos in comments.
by drh
· 11 years ago
60ec914
Fix typos in comments. No code changes.
by peter.d.reid
· 11 years ago
e4bf4f0
Add requirements marks. No code changes.
by drh
· 12 years ago
95a7b3e
The date and time functions use the exact same notion of "now" for every
by drh
· 12 years ago
3170225
The date/time functions return NULL if the xCurrentTime or
by drh
· 14 years ago
df3aa16
Fix some harmless compiler warnings that were occurring with THREADSAFE=0.
by drh
· 14 years ago
1f93a08
Give the osLocaltime() function file scope in date.c.
by drh
· 14 years ago
0d37f58
Initialize a variable introduced as part of the fix for [bd484a090c8077] in order to silence a compiler warning.
by dan
· 14 years ago
a924aca
Rework the localtime logic yet again in order to make all branches reachable
by drh
· 14 years ago
8720aeb
Simplifications to the localtime() interface. Fix the case where
by drh
· 14 years ago
7c8b355
Change the error message returned when localtime_r() fails to "local time unavailable".
by dan
· 14 years ago
30ce189
Fix an error made in the previous commit. The parameters to localtime_s() were accidentally reversed.
by dan
· 14 years ago
c17d696
Return an error if localtime_r() fails within one of the date/time functions. Fix for [bd484a090c].
by dan
· 14 years ago
9339da1
Rework the text to numeric conversion routines so that they work with either
by drh
· 15 years ago
d5e6e40
Fix a bug in the computation of the current time for the alternative
by drh
· 15 years ago
b7e8ea2
Use VFS method xCurrentTimeInt64 instead of xCurrentTime when it is available.
by drh
· 15 years ago
Next »