]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Add timezone option to config
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Apr 2017 17:55:35 +0000 (13:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Apr 2017 18:35:41 +0000 (14:35 -0400)
commitfbbb669b8cd8845cd5dbdd827f8beb70fa1476bc
treedaa73390d2fb0cf3a9c71582378267786753ffbb
parent4cdb25bf5d70e6e8a789c75c59a2a908433674ce
Add timezone option to config

Using dateutil.tz to link string names to tzinfo objects,
the create_date can now generate using a named timezone
rather than datetime.now().

Change-Id: I9f151cb9e11da3d68be63d7141f60e7eccb9812c
Fixes: #425
alembic/script/base.py
alembic/templates/generic/alembic.ini.mako
alembic/templates/multidb/alembic.ini.mako
alembic/templates/pylons/alembic.ini.mako
docs/build/changelog.rst
docs/build/tutorial.rst
setup.py
tests/test_script_production.py