]> git.ipfire.org Git - thirdparty/babel.git/commit
Month and Day must be valid tokens 574/head
authorPTrottier <31802216+PTrottier@users.noreply.github.com>
Fri, 27 Apr 2018 14:42:56 +0000 (10:42 -0400)
committerGitHub <noreply@github.com>
Fri, 27 Apr 2018 14:42:56 +0000 (10:42 -0400)
commitcbc8cf8308d0958ddbde7a01c430c58a40c00308
tree6d107edb0cc1dd407946919fcc0a27ff23c0cc0c
parent1378a3d5e7f7f111ea7828ff7429f0abbb513700
Month and Day must be valid tokens

````>>> dt = datetime(2007, 04, 01, 15, 30, tzinfo=UTC)
  File "<stdin>", line 1
    dt = datetime(2007, 04, 01, 15, 30, tzinfo=UTC)
                         ^
SyntaxError: invalid token````

See: https://docs.python.org/3.5/library/datetime.html#datetime.datetime.month
docs/dates.rst