fingerpich / jalali-moment

Display, parse, manipulate, validate and convert jalali (Persian, Khorshidi, Shamsi) or Gregorian (Miladi) dates and times.
https://fingerpich.github.io/jalali-moment/
MIT License
434 stars 68 forks source link

invalid converting of months to minutes in normalizeUnits #64

Closed pouyamn closed 5 years ago

pouyamn commented 5 years ago

only change the unit to lower case if it is Jalali unit fixes issue #63

fingerpich commented 5 years ago

Hi thanks, It makes tests fail, can you fix it?

pouyamn commented 5 years ago

lemme check

pouyamn commented 5 years ago

I checked it and its fine against master branch, I guess the problem is that development branch out of date, I should have sent this to master branch. Sorry I am not familiar with tاis project's structure and workflow.