mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-03-10 00:20:54 +08:00
Improved support for "Short Date" fields
* Separate -D (date only) and -T (date/time) format options in mdb-export and mdb-json * New public mdb_set_shortdate_fmt() function in libmdb * New private(ish) mdb_col_is_shortdate() function I'm calling it "shortdate" in order to preserve the existing API. See https://github.com/mdbtools/mdbtools/issues/12
This commit is contained in:
@@ -253,11 +253,6 @@ quote_with_squotes(const gchar* value)
|
||||
return quote_generic(value, '\'', '\'');
|
||||
}
|
||||
|
||||
static int mdb_col_is_shortdate(const MdbColumn *col) {
|
||||
const char *format = mdb_col_get_prop(col, "Format");
|
||||
return format && !strcmp(format, "Short Date");
|
||||
}
|
||||
|
||||
const MdbBackendType*
|
||||
mdb_get_colbacktype(const MdbColumn *col) {
|
||||
MdbBackend *backend = col->table->entry->mdb->default_backend;
|
||||
|
||||
Reference in New Issue
Block a user