This is a small project, written in Svelte that converts a normal gregorian date to the afghan calendar (Jalaali) and vice versa.
Install the dependencies...
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5000. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
To create an optimised version of the app:
npm run build
The actual converting is done by this awesome library: jalaali-js