sufone / layl

🌙 Calculator for tahajjud, qiyam, and worship & sleep in an Islamic night!

Home Page:https://layl.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove day.js as much as possible, use native date formatting

mr-islam opened this issue · comments

The native date formatting is amazing, and we should investigate it way more, specially for things like the simple date view.

For time calculations and display, we can keep more day.js I guess. (Changing this is a pain and needs loads of testing)

Just realized… this will help a lot with adding more languages! Since we don't need to manually import day.js support and also add to our bundle size. Rather, it would be built into the browser! (Also, check for browser support for this stuff!)