-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
@nodejs/i18n-api |
Beta Was this translation helpful? Give feedback.
-
@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? |
Beta Was this translation helpful? Give feedback.
-
Don't fix in Node.js, please submit a ticket and PR to https://icu.unicode.org |
Beta Was this translation helpful? Give feedback.
-
@srl295 thanks for chiming in, was hoping we could point @Sinakhx to the right place upstream to fix. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I guess my endeavor was in a wrong direction. So, I decided to close this issue: |
Beta Was this translation helpful? Give feedback.
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