Skip to content

Commit

Permalink
Revert "tmp fix dist"
Browse files Browse the repository at this point in the history
This reverts commit 00ee4b9.
  • Loading branch information
Freddy03h committed Mar 10, 2015
1 parent 00ee4b9 commit 1fa8f52
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.time === false) {
if (o.date === true) {
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.time === false) {
if (o.date === true) {
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 1fa8f52

Please sign in to comment.