|
|
|
|
187
|
"""
|
187
|
"""
|
188
|
ISO8601 current date, adapted to be used in filename (for
|
188
|
ISO8601 current date, adapted to be used in filename (for
|
189
|
webdav feature for example), with trouble-free characters.
|
189
|
webdav feature for example), with trouble-free characters.
|
|
|
190
|
+
|
190
|
:return: current date as string
|
191
|
:return: current date as string
|
191
|
"""
|
192
|
"""
|
|
|
193
|
+ # INFO - G.M - 19-03-2018 - As ':' is in transform_to_do_bdd method in
|
|
|
194
|
+ # webdav utils, it may cause trouble. So, it should be replaced to
|
|
|
195
|
+ # a character which will not change in bdd.
|
192
|
return datetime.datetime.now().isoformat().replace(':', '.')
|
196
|
return datetime.datetime.now().isoformat().replace(':', '.')
|
193
|
|
197
|
|
194
|
class TracimEnforceHTTPS(BaseMiddleware):
|
198
|
class TracimEnforceHTTPS(BaseMiddleware):
|