Skip to content

Commit

Permalink
Update built version
Browse files Browse the repository at this point in the history
  • Loading branch information
behrang committed May 20, 2018
1 parent 3ed634c commit a3a6150
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions build/moment-jalaali.js
Expand Up @@ -79,11 +79,6 @@ module.exports =
Converts a Gregorian date to Jalaali.
*/
function toJalaali(gy, gm, gd) {
if (Object.prototype.toString.call(gy) === '[object Date]') {
gd = gy.getDate()
gm = gy.getMonth() + 1
gy = gy.getFullYear()
}
return d2j(g2d(gy, gm, gd))
}

Expand Down Expand Up @@ -319,7 +314,6 @@ module.exports = jMoment

var moment = require('moment')
, jalaali = require('jalaali-js')
require('moment/locale/fa')

/************************************
Constants
Expand Down

0 comments on commit a3a6150

Please sign in to comment.