Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CLI for date conversion #47

Open
aj3sh opened this issue Apr 29, 2023 · 0 comments
Open

Implement CLI for date conversion #47

aj3sh opened this issue Apr 29, 2023 · 0 comments

Comments

@aj3sh
Copy link
Member

aj3sh commented Apr 29, 2023

Let's implement CLI for date conversion, English to Nepali (AD to BS), and Nepali to English (BS to AD).

An example of a CLI would be:

ad2bs 2023-04-29
# Output: 2080-01-16

bs2ad 2080-01-16
# Output: 2023-04-29

We can also decorate the output, with something like the below:

Nepali Date:
Saturday, Baishak 16, 2080
शनिबार, बैशाख १६, २०८०

English Date:
Saturday, April 29, 2023
@aj3sh aj3sh added this to py-nepali Apr 29, 2023
@aj3sh aj3sh converted this from a draft issue Apr 29, 2023
@aj3sh aj3sh moved this to Todo in py-nepali Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant