afghan-gregorian-converter

Afghan Gregorian Converter

Date Converter from Gregorian to Afghan written in Svelte

Afghan-Gregorian Date Converter

This is a small project, written in Svelte that converts a normal gregorian date to the afghan calendar (Jalaali) and vice versa.

Development

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.

Production mode

To create an optimised version of the app:

npm run build

Notes

The actual converting is done by this awesome library: jalaali-js

Top categories

Loading Svelte Themes