Comments (2)
Hi,
The error is thrown in the line
return momentObj.calSystem === 1 || (moment.justUseJalali && momentObj.calSystem !== 2);
I didn't check your package but as we see here the momentObj is undefined and even if we handle this problem you would have another problem.
Please check it and find the exact problem and feel free to create a pull request
from jalali-moment.
Fixed in #56
from jalali-moment.
Related Issues (20)
- Convert a Unix timestamp to moment HOT 1
- jalali diff not working on different server & client timezone HOT 2
- Gregorian to Jalali HOT 1
- Angular 11, "CommonJS or AMD dependencies can cause optimization bailouts" warning HOT 3
- end of week HOT 1
- problem with ie11 HOT 3
- Use ECMAScript 6 import/export instead of CommonJS HOT 1
- jalali-moment with vite and vue not working HOT 4
- does it makes Grafana in Farsi or just for showing date in reports? HOT 1
- 27/1/1400 can be interpereted different in different time zones HOT 1
- add function not worked properly HOT 2
- ایراد نمایش در بخش ثانیه HOT 1
- After converting, the date always comes back one day off HOT 3
- moment deprecation HOT 1
- jalali_moment__WEBPACK_IMPORTED_MODULE_1___namespace_cache is not a function HOT 1
- timezone in 1402 is not correct ! HOT 4
- The `isSameOrAfter()` method does not return the expected result when comparing a Jalali date with a valid date.
- moment('1402-01-02', 'jYYYY-jMM-JDD').format('jYYYY-jMM-jDD') return 1402-01-01
- In the first six months of the year, the time is one hour behind.
- isValid has bug with string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jalali-moment.