mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Update Arrow to 0.10.0
This commit is contained in:
parent
bbca0b3b42
commit
960e147e10
7 changed files with 469 additions and 87 deletions
|
@ -94,7 +94,7 @@ class DateTimeFormatter(object):
|
|||
tz = dateutil_tz.tzutc() if dt.tzinfo is None else dt.tzinfo
|
||||
total_minutes = int(util.total_seconds(tz.utcoffset(dt)) / 60)
|
||||
|
||||
sign = '+' if total_minutes > 0 else '-'
|
||||
sign = '+' if total_minutes >= 0 else '-'
|
||||
total_minutes = abs(total_minutes)
|
||||
hour, minute = divmod(total_minutes, 60)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue