https://github.com/mastermoo/afghan-gregorian-converter
Date Converter from Gregorian to Afghan written in Svelte
https://github.com/mastermoo/afghan-gregorian-converter
afghan afghanistan date-converter svelte
Last synced: 12 months ago
JSON representation
Date Converter from Gregorian to Afghan written in Svelte
- Host: GitHub
- URL: https://github.com/mastermoo/afghan-gregorian-converter
- Owner: mastermoo
- Created: 2020-01-04T13:21:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-04T18:19:38.000Z (over 6 years ago)
- Last Synced: 2025-01-20T08:31:23.934Z (over 1 year ago)
- Topics: afghan, afghanistan, date-converter, svelte
- Language: HTML
- Size: 328 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Afghan-Gregorian Date Converter
This is a small project, written in [Svelte](https://svelte.dev) that converts a normal gregorian date to the afghan calendar (Jalaali) and vice versa.
## Development
Install the dependencies...
```bash
npm install
```
...then start [Rollup](https://rollupjs.org):
```bash
npm run dev
```
Navigate to [localhost:5000](http://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:
```bash
npm run build
```
## Notes
The actual converting is done by this awesome library: [jalaali-js](https://github.com/jalaali/jalaali-js)