On Monday, April 13, 2020 at 7:32:06 AM UTC+2, Mohammad wrote:
>
> Hi Mark,
>
> On Monday, April 13, 2020 at 2:25:46 AM UTC+4:30, Mark S. wrote:
>>
>>
>> Is there any known algorithm between the Gregorian and the other 
>> calendars ?
>>
>
> Yes, there are! 
>
>>
>> I did some searching and reading, and it kind of seemed like even experts 
>> hadn't worked it out. But maybe I was running down the wrong rabbit hole?
>>
>
> As an example in the case I am looking there is very good JS code, please 
> have a look here
>
>
> https://github.com/jalaali/moment-jalaali
> https://www.npmjs.com/package/moment-jalaali
>

moment.js  probably isn't the best choice. It's big and slow. 

There seem to be some built in functions too. ... But need to investigate: 
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e5e01615-0fb1-44a6-a00d-6309eb4b6f57%40googlegroups.com.

Reply via email to