Converts the input into a date in french
Project description
frdate
Finds a date object in a string input, and returns it in french.
Installation :
pip install frdate
Examples:
>>> from frdate import conv
>>> conv('14071789')
"14 juillet 1789"
>>> conv('17890714',to_date=True)
"datetime.date(1789, 7, 14)"
>>> conv('1789-07-14',litteral=True)
"quatorze juillet mille sept cent quatre-vingt-neuf"
Supported formats :
The input can be a datetime.date or datetime.datetime object, or any string representing a date, or a list or dict of strings
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
frdate-0.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
frdate-0.3-py3-none-any.whl
(4.1 kB
view hashes)