Ezhil-Language-Foundation / open-tamil

Open Source Tamil NLP Tools - தமிழ் இயற்கை மொழி பகுப்பாய்வு நிரல்தொகுப்பு
http://tamilpesu.us
MIT License
265 stars 81 forks source link

Improvements for tamil.date module #249

Closed tecoholic closed 2 years ago

tecoholic commented 2 years ago

This PR adds

  1. Documentation to the tamil.date module in the form of Python Docstrings for the existing functions
  2. An subclass of the datetime.datetime class from the Python Standard library with an extra function strftime_ta which behaves exactly like the strftime function except this returns the strings with Tamil words for months, days and am/pm.