Skip to content

Conversation

@khumnath
Copy link
Collaborator

  • update with date output format
  • added option to display only Bikram sambat date

Usage:
  Show today's date: ./ndate --today [--unicode] [--format format_string]
  Convert to Bikram Sambat Date: ./ndate --tobs year month day [--unicode] [--format format_string]
  Convert to Gregorian Date: ./ndate --toad year month day [--unicode] [--format format_string]
Options:
  --unicode : Display the date in Unicode format (Devanagari script).
  --format format_string : Specify a custom format for the date (e.g., 'y-m-d', 'd-M-y'). Default: 'y-m-d'

Format Specifiers:
  y : Year
  m : Month (numeric)
  d : Day
  w : Weekday name
  M : Month name
@khumnath khumnath merged commit d25a72d into main Nov 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants