Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use new Cromag instead of date.clone() (which doesn't exist!)

  • Loading branch information...
commit 1b5fa2c6e9900af83852ab5178435c62ac45c55d 1 parent 98a3099
@nragaz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cromag.js
View
4 cromag.js
@@ -507,8 +507,8 @@ THE SOFTWARE.
};
Cromag.dayEquals = function (date1, date2) {
- day1 = date1.clone().clearTime();
- day2 = date2.clone().clearTime();
+ day1 = new Cromag(date1).clearTime();
+ day2 = new Cromag(date2).clearTime();
return Cromag.equals(day1, day2);
}
Please sign in to comment.
Something went wrong with that request. Please try again.