Skip to content

Commit

Permalink
docs(settings.rst): add 'timestamp-negative' to available parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
gutsytechster committed Jun 11, 2022
1 parent 23ca1f3 commit abc5d96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/settings.rst
Expand Up @@ -144,7 +144,7 @@ Language Detection
Default Languages
+++++++++++++++++

``DEFAULT_LANGUAGES``: It is a ``list`` of language codes in ISO 639 that will be used as default
``DEFAULT_LANGUAGES``: It is a ``list`` of language codes in ISO 639 that will be used as default
languages for parsing when language detection fails. eg. ["en", "fr"]:

>>> from dateparser import parse
Expand Down Expand Up @@ -181,6 +181,9 @@ The following parsers exist:
followed by additional digits or a period (``.``), those first 10 digits
are interpreted as `Unix time <https://en.wikipedia.org/wiki/Unix_time>`_.

- ``'negative-timestamp'``: It is similar to ``'timestamp'``, but parses the
negative timestamp.

- ``'relative-time'``: Parses dates and times expressed in relation to the
current date and time (e.g. “1 day ago”, “in 2 weeks”).

Expand Down

0 comments on commit abc5d96

Please sign in to comment.