Skip to content

Commit

Permalink
tmp fix dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddy03h committed Mar 10, 2015
1 parent 7a2c2f4 commit 00ee4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/rome.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`');
}
Expand Down
2 changes: 1 addition & 1 deletion dist/rome.standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`');
}
Expand Down

0 comments on commit 00ee4b9

Please sign in to comment.