Update datemath mock to lodash 4.
This commit is contained in:
@@ -91,7 +91,7 @@ export function parseDateMath(mathString, time, roundUp) {
|
||||
}
|
||||
unit = mathString.charAt(i++);
|
||||
|
||||
if (!_.contains(units, unit)) {
|
||||
if (!_.includes(units, unit)) {
|
||||
return undefined;
|
||||
} else {
|
||||
if (type === 0) {
|
||||
|
||||
Reference in New Issue
Block a user