Skip to main content

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.frdate import conv as d

>>> d('14071789')
"14 juillet 1789"

>>> d('17890714',to_date=True)
"datetime.date(1789, 7, 14)"

>>> d('1789-07-14',litteral=True)
"quatorze juillet mille sept cent quatre-vingt-neuf"

Supported formats :

The input may 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.4.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

frdate-0.4-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page