mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-20 02:57:55 +08:00
Date calculation bug (David Mansfield)
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
Wed Feb 9 23:37:43 CST 2005 Jeff Smith <whydoubt@yahoo.com>
|
||||||
|
* src/libmdb/data.c: Date calculation bugfix (David Mansfield)
|
||||||
|
|
||||||
Thu Feb 3 21:12:55 CST 2005 Jeff Smith <whydoubt@yahoo.com>
|
Thu Feb 3 21:12:55 CST 2005 Jeff Smith <whydoubt@yahoo.com>
|
||||||
* HACKING: Small documentation fix
|
* HACKING: Small documentation fix
|
||||||
* src/gmdb2/debug.c:
|
* src/gmdb2/debug.c:
|
||||||
|
@@ -707,8 +707,8 @@ char *mdb_col_to_string(MdbHandle *mdb, unsigned char *buf, int start, int datat
|
|||||||
long int day, time;
|
long int day, time;
|
||||||
int yr, q;
|
int yr, q;
|
||||||
int *cal;
|
int *cal;
|
||||||
int noleap_cal[] = {0,31,59,90,120,150,181,212,243,273,304,334,365};
|
int noleap_cal[] = {0,31,59,90,120,151,181,212,243,273,304,334,365};
|
||||||
int leap_cal[] = {0,31,60,91,121,151,182,213,244,274,305,335,366};
|
int leap_cal[] = {0,31,60,91,121,152,182,213,244,274,305,335,366};
|
||||||
|
|
||||||
switch (datatype) {
|
switch (datatype) {
|
||||||
case MDB_BOOL:
|
case MDB_BOOL:
|
||||||
|
Reference in New Issue
Block a user