Skip to content

Commit

Permalink
Update formatter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alstomli authored Dec 23, 2019
1 parent f031cbc commit 763eb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DateTimeFormatter(object):
# emulated in Python's re library, see https://stackoverflow.com/a/13577411/2701578
# TODO: test against full timezone DB
_FORMAT_RE = re.compile(
r"(\[(?:(?=(?P<literal>[^]]))(?P=literal))*\]|YYY?Y?|MM?M?M?|Do|DD?D?D?|d?dd?d?|HH?|hh?|mm?|ss?|SS?S?S?S?S?|ZZ?Z?|a|A|X)"
r"(\[(?:(?=(?P<literal>[^]]))(?P=literal))*\]|YYY?Y?|MM?M?M?|Do|DD?D?D?|d?dd?d?|HH?|hh?|mm?|ss?|SS?S?S?S?S?|ZZ?Z?|a|A|X|x)"
)

def __init__(self, locale="en_us"):
Expand Down

0 comments on commit 763eb9b

Please sign in to comment.