##// END OF EJS Templates
svn: date-parser should use UTC dates to be consistent with other backends.
marcink -
r1348:8875ec9d default
parent child Browse files
Show More
@@ -229,6 +229,8 b' def _date_from_svn_properties(properties'
229
229
230 :return: :class:`datetime.datetime` instance. The object is naive.
230 :return: :class:`datetime.datetime` instance. The object is naive.
231 """
231 """
232
232 aware_date = dateutil.parser.parse(properties.get('svn:date'))
233 aware_date = dateutil.parser.parse(properties.get('svn:date'))
233 local_date = aware_date.astimezone(dateutil.tz.tzlocal())
234 # final_date = aware_date.astimezone(dateutil.tz.tzlocal())
234 return local_date.replace(tzinfo=None)
235 final_date = aware_date
236 return final_date.replace(tzinfo=None)
@@ -288,7 +288,6 b' Added a symlink'
288 'Hide comments']:
288 'Hide comments']:
289 response.mustcontain(elem)
289 response.mustcontain(elem)
290
290
291
292 def _check_new_diff_menus(self, response, right_menu=False,):
291 def _check_new_diff_menus(self, response, right_menu=False,):
293 # diff menus
292 # diff menus
294 for elem in ['Show file before', 'Show file after',
293 for elem in ['Show file before', 'Show file after',
General Comments 0
You need to be logged in to leave comments. Login now