SushilShrestha / pyBSDate

BS to AD and AD to BS date conversion utility
MIT License
14 stars 10 forks source link

bsdate.today() problem #6

Open AbhinavBajimaya opened 3 years ago

AbhinavBajimaya commented 3 years ago

bsdate.today( ) results in English date

eg: bsdate.today() results in bsdate(2021,8,17) ------> todays AD date

SushilShrestha commented 3 years ago

Nice catch, Abhinav! The intended bs.today() function should have consider the +05:45 offset from the UTC timezone. Right now, we haven't consider the +05:45 offset, so we might have to include that logic.

Abhinav, if you want to contribute to the project, please feel free to raise a PR for this bug. Thanks