dateutil-br

Implementation to Pt-br of python lib python-dateutil


Keywords
date, parser, python, dateutil, dateutil-br, data, em, português
License
MIT
Install
pip install dateutil-br==0.0.7

Documentation

Dateutil-br

Implementation to python-dateutil with to Pt-br language. "(>_<)"

This implementation rewrites the constants used in the dateutil library's date parse.

You can see the repository pypi on: https://pypi.org/project/dateutil-br/

Install

pip install dateutil-br

Usage Exemples

>>> from dateutil_br import BrParserInfo, parser

>>> print(parser(BrParserInfo()).parse('08/04/2018'))
"2018-04-08 00:00:00"

>>> print(parser(BrParserInfo()).parse('10 de abril de 2018'))
"2018-04-10 00:00:00"

>>> print(parser(BrParserInfo()).parse('15 horas e 13 min de 10 de abril de 2018'))
"2018-04-10 15:13:00"

Maintainer

This code is sustained by Magrathea Labs, in the repository https://github.com/magrathealabs/dateutil-br

License

The package is available as open source under the terms of the MIT License.