Data grouped by minutes is fixed
* Data grouped by minutes is fixed
Data grouped by minutes is fixed
* added support for YYYY-MM-DD HH24:MI datetime formatting
added support for YYYY-MM-DD HH24:MI datetime formatting
@@ -39,6 +39,7 @@ using namespace rapidjson;
#define F_TIMEH24_S "%H:%M:%S"
#define F_DATEH24_S "%Y-%m-%d %H:%M:%S"
+#define F_DATEH24_M "%Y-%m-%d %H:%M"
#define F_DATEH24_MS "%Y-%m-%d %H:%M:%f"
#define SQLITE3_NOW "strftime('%Y-%m-%d %H:%M:%f+00:00', 'now')"
@@ -50,6 +51,8 @@ map<string, string> sqliteDateFormat = {
F_DATEH24_MS},
{"YYYY-MM-DD HH24:MI:SS",
F_DATEH24_S},
+ {"YYYY-MM-DD HH24:MI",
+ F_DATEH24_M},
{"", ""}
};
