From 00ee4b93ea909631772f1f4e37d970ee7eac093e Mon Sep 17 00:00:00 2001 From: Freddy03h Date: Tue, 10 Mar 2015 12:23:55 +0100 Subject: [PATCH] tmp fix dist --- dist/rome.js | 2 +- dist/rome.standalone.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/rome.js b/dist/rome.js index 02c50c1..cd56d1c 100644 --- a/dist/rome.js +++ b/dist/rome.js @@ -4097,7 +4097,7 @@ function defaults (options, cal) { o.max = o.min; o.min = temp; } - if (o.date === true) { + if (o.time === false) { if (o.max.clone().subtract(1, 'days').isBefore(o.min)) { throw new Error('`max` must be at least one day after `min`'); } diff --git a/dist/rome.standalone.js b/dist/rome.standalone.js index 7c58c41..35e317f 100644 --- a/dist/rome.standalone.js +++ b/dist/rome.standalone.js @@ -1157,7 +1157,7 @@ function defaults (options, cal) { o.max = o.min; o.min = temp; } - if (o.date === true) { + if (o.time === false) { if (o.max.clone().subtract(1, 'days').isBefore(o.min)) { throw new Error('`max` must be at least one day after `min`'); }