Comments (6)
the Ummulqura algorithm doesn't includes the days before 1355AH. AFAK that if you are targeting days before 1355 is to use the Kuwaiti hijri calculation algorithm.
from moment-hijri.
so , i have this problem .
anybody else have a solution ?
from moment-hijri.
thanks for answer
i test now date but give wrong response
m = moment('1438/1/3', 'iYYYY/iM/iD');
m.format('iYYYY/iM/iD [is] YYYY/M/D');
"1355/12/NaN is 0000/1/1"
from moment-hijri.
i change code
to
input = config._i + '-' + leftZeroFill(date[0], 4) + '-' +
leftZeroFill(date[1] + 1, 2) + '-' +
leftZeroFill(date[2], 2)
worked me.
maybay other function are damaged (not test)
from moment-hijri.
hi, first thanks for the library. It is great :) Is there a way to use the Kuwaiti hijri calculation algorithm as part of this library? (I am looking for support for earlier dates)
from moment-hijri.
same issue
from moment-hijri.
Related Issues (20)
- Why dates beyond 1500 AH not supported. HOT 3
- Incorrect dates convertion
- Uncaught TypeError: s.indexOf is not a function
- Parsing using iMMM returns incorrect date (off by one month)
- Month name in English
- Fomat date with year greater than 1500 gives undefined NaN error
- Can we set global timezone for moment-hijri?
- iDaysInMonth() gives number of days as 1 for some month of a year
- Mobile App
- How do i get month name?
- تساؤل: متى يبدأ اليوم في التقويم الهجري
- Illogical return from isSame() HOT 2
- Simple Hijri Date Converter
- Shawwal month not return from moment hijri (2022) HOT 2
- moment.localeData is not a function HOT 7
- Inconsistency when parsing month HOT 5
- 30-10-1400 shown as invalid date but is valid according to https://www.ummulqura.org.sa HOT 1
- Uncaught TypeError: moment.localeData is not a function
- I believe npmjs need to get latest update from here
- Adding a day gives type error in typescript, '"iDate"' is not assignable to parameter of type 'IUnitOfTime'
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 moment-hijri.