We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b05216 commit d856efaCopy full SHA for d856efa
arrow/parser.py
@@ -45,7 +45,7 @@ class DateTimeParser(object):
45
_TZ_NAME_RE = re.compile(r"\w[\w+\-/]+")
46
# NOTE: timestamps cannot be parsed from natural language strings (by removing the ^...$) because it will
47
# break cases like "15 Jul 2000" and a format list (see issue #447)
48
- _TIMESTAMP_RE = re.compile(r"^\d+\.?\d+$")
+ _TIMESTAMP_RE = re.compile(r"^-?\d+\.?\d+$")
49
_TIME_RE = re.compile(r"^(\d{2})(?:\:?(\d{2}))?(?:\:?(\d{2}))?(?:([\.\,])(\d+))?$")
50
51
_BASE_INPUT_RE_MAP = {
0 commit comments