commit 932b5feb7c489bda748c8bc50efa7fa9bbff21ba
Author: Luong Anh Tuan <email address hidden>
Date: Mon Nov 7 09:01:58 2016 +0700
Replace oslo_utils.timeutils.isotime
Function 'oslo_utils.timeutils.isotime()' is deprecated in version '1.6'
and will be removed in a future version. We cant't use
datetime.datetime.isoformat() instead. Because the format of the string
generated by isoformat isn't the same as the format of the string
generated by isotime. The string is used in tokens and other public
APIs and we can't change it without potentially breaking clients.
So the workaround is to copy the current implementation from
oslo_utils.timeutils.isotime() to utils.py
Reviewed: https:/ /review. openstack. org/394226 /git.openstack. org/cgit/ openstack/ cloudkitty/ commit/ ?id=932b5feb7c4 89bda748c8bc50e fa7fa9bbff21ba
Committed: https:/
Submitter: Jenkins
Branch: master
commit 932b5feb7c489bd a748c8bc50efa7f a9bbff21ba
Author: Luong Anh Tuan <email address hidden>
Date: Mon Nov 7 09:01:58 2016 +0700
Replace oslo_utils. timeutils. isotime
Function 'oslo_utils. timeutils. isotime( )' is deprecated in version '1.6' datetime. isoformat( ) instead. Because the format of the string
and will be removed in a future version. We cant't use
datetime.
generated by isoformat isn't the same as the format of the string
generated by isotime. The string is used in tokens and other public
APIs and we can't change it without potentially breaking clients.
So the workaround is to copy the current implementation from utils.timeutils .isotime( ) to utils.py
oslo_
For more informations: docs.openstack. org/developer/ oslo.utils/ api/timeutils. html#oslo_ utils.timeutils .isotime
http://
Change-Id: Ib384ae8130dcc6 cbd47a837d11ca1 71ce02ef29e
Closes-Bug: #1461251