Skip to content

Commit

Permalink
Merge d328b88 into be07931
Browse files Browse the repository at this point in the history
  • Loading branch information
mort3za committed Mar 22, 2019
2 parents be07931 + d328b88 commit c6a526d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
7 changes: 2 additions & 5 deletions dist/persian-date.js
Expand Up @@ -25,9 +25,9 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down Expand Up @@ -923,9 +923,6 @@ var PersianDateClass = function () {
val === 'weeks' || val === 'week' ? diff / 6048e5 : // 1000 * 60 * 60 * 24 * 7
diff;
}
if (output < 0) {
output = output * -1;
}
return asFloat ? output : Math.round(output);
}

Expand Down

0 comments on commit c6a526d

Please sign in to comment.