From 0fd75c5517e9e2c2223f50e4bde431f7023cca0f Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Tue, 30 Aug 2016 20:23:55 +0300 Subject: [PATCH] fix #23 --- README.md | 2 +- toxygen/util.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 93f548c..727559a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Toxygen -Toxygen is powerfull cross-platform [Tox](https://tox.chat/) client written in pure Python3. +Toxygen is powerful cross-platform [Tox](https://tox.chat/) client written in pure Python3. [![Release](https://img.shields.io/github/release/xveduk/toxygen.svg?style=flat)](https://github.com/toxygen-project/toxygen/releases/latest) [![Stars](https://img.shields.io/github/stars/xveduk/toxygen.svg?style=flat)](https://github.com/toxygen-project/toxygen/stargazers) diff --git a/toxygen/util.py b/toxygen/util.py index 1e755ec..93ba7a7 100644 --- a/toxygen/util.py +++ b/toxygen/util.py @@ -31,7 +31,8 @@ def copy(src, dest): def convert_time(t): - sec = int(t) - time.timezone + offset = time.timezone - time.daylight * 3600 + sec = int(t) - offset m, s = divmod(sec, 60) h, m = divmod(m, 60) d, h = divmod(h, 24)