Skip to content

Commit 515a5fb

Browse files
author
alex
committed
Fix: Updated parseQueryParam splitter to fix bug in time ISOString
parsing.
1 parent 65a9de6 commit 515a5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sequelizeQueryParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ module.exports = function (db) {
175175
* @returns {string|JSON} sequelize formatted DB query param
176176
*/
177177
const parseQueryParam = (query) => {
178-
let elements = query.split(':');
178+
let elements = query.split(/:(.+)/);
179179
// console.debug("Query param: ", JSON.stringify(elements, null, 4));
180180
if (elements && elements.length > 1) {
181181
var param = {};

0 commit comments

Comments
 (0)