1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Do not use double unnecessarily in date+time functions. Ticket #3422. (CVS 5776)

FossilOrigin-Name: b03231323a7f06c736c38ae3c5535d2fd025583f
This commit is contained in:
drh
2008-10-07 12:32:13 +00:00
parent c56774e234
commit f65c76d49c
3 changed files with 10 additions and 10 deletions

View File

@@ -16,7 +16,7 @@
** sqlite3RegisterDateTimeFunctions() found at the bottom of the file.
** All other code has file scope.
**
** $Id: date.c,v 1.90 2008/09/03 17:11:16 drh Exp $
** $Id: date.c,v 1.91 2008/10/07 12:32:13 drh Exp $
**
** SQLite processes all times and dates as Julian Day numbers. The
** dates and times are stored as the number of days since noon
@@ -556,7 +556,7 @@ static int parseModifier(const char *zMod, DateTime *p){
}
#ifndef SQLITE_OMIT_LOCALTIME
else if( strcmp(z, "utc")==0 ){
double c1;
int c1;
computeJD(p);
c1 = localtimeOffset(p);
p->iJD -= c1;