Create file name with UTC time #425
Closed
Labels
Milestone
Comments
Changes by Григорий Крамаренко (@djbaldey):
|
Michael Bayer (@zzzeek) wrote: https://gerrit.sqlalchemy.org/378 , please review, this will add dateutil as a dependency. |
Changes by Michael Bayer (@zzzeek):
|
Changes by Michael Bayer (@zzzeek):
|
Григорий Крамаренко (@djbaldey) wrote: Thank you. |
Changes by Григорий Крамаренко (@djbaldey):
|
Michael Bayer (@zzzeek) wrote: the gerrit is not committed yet. it will auto-resolve here. |
Changes by Michael Bayer (@zzzeek):
|
Changes by Michael Bayer (@zzzeek):
|
Григорий Крамаренко (@djbaldey) wrote: Great! I dragged your code to my virtualenv... In GMT+10 generated file: migrations/versions/201704061845_801a1f08f4be_.py now is 2017-04-07T04:45:00 in my location |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migrated issue, originally created by Григорий Крамаренко (@djbaldey)
Now in file_template used local time:
[alemblic]
file_template = %%(year)d%%(month).2d%%(day).2d%%(hour).2d%%(minute).2d_%%(rev)s_%%(slug)s
generated:
migrations/versions/201704070222_f92e230c3c4e_test.py
But it is not convenient for various geographically located developers.
Please add the variables to determine the UTC time in the file names.
The text was updated successfully, but these errors were encountered: