Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
python3-Babel
fix-timezone-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-timezone-test.patch of Package python3-Babel
--- babel/dates.py.old 2015-01-28 16:54:06.306129842 -0800 +++ babel/dates.py 2015-01-28 16:54:44.574118917 -0800 @@ -308,7 +308,9 @@ datetime = datetime.replace(tzinfo=UTC) locale = Locale.parse(locale) - offset = datetime.tzinfo.utcoffset(datetime) + # fix for mitsuhiko/babel#133 : Any time will do since we just want the + # offset + offset = datetime.tzinfo.utcoffset(datetime_.utcnow()) seconds = offset.days * 24 * 60 * 60 + offset.seconds hours, seconds = divmod(seconds, 3600) if width == 'short':
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor