|
This is a very simplistic and inaccurate approach to calculating Jalali/Persian leap years. I'm not sure if it's related to the nodejs work-group or the EcmaScript community, but as it's an implementation detail, I think it can be enhanced further, as the date calculations are very important. I've actually reported this problem in an other library's issues section. Please follow along to see the details & examples there. Please let me know if This was an intentional approach or just due to insufficient astronomical research. Thanks in advance. |
Replies: 0 comments 10 replies
|
@nodejs/i18n-api |
|
@ryzokuken would it make sense to oint @Sinakhx to the upstream ICU repos/source? I may not have enough context but my first thought is that is where the fix would need to go? |
|
Don't fix in Node.js, please submit a ticket and PR to https://icu.unicode.org |
|
yes, specifically: @Sinakhx please open a PR against https://github.com/unicode-org/icu/blob/main/icu4c/source/i18n/persncal.cpp#L110-L115 you can link it here |
|
I've created the pull request: Please consider the workflow in order for the PR to be merged & let me know about the details & upcoming steps. |
|
I guess my endeavor was in a wrong direction. So, I decided to close this issue: |
yes, specifically:
@Sinakhx please open a PR against https://github.com/unicode-org/icu/blob/main/icu4c/source/i18n/persncal.cpp#L110-L115 you can link it here