aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dist/archlinux/stable/PKGBUILD4
-rw-r--r--src/plugins/clock.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index bd1b1d6..e55143b 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=xpybar
-pkgver=1.3.1
+pkgver=1.4
pkgrel=1
pkgdesc="A highly extensible minimalistic dock panel written in Python 3"
arch=(any)
@@ -15,7 +15,7 @@ optdepends=("linux: most of the monitors require Linux's procfs or sysfs"
"python-pytz: for timezone support")
makedepends=(make coreutils sed zip)
source=($url/archive/$pkgver.tar.gz)
-sha256sums=(af97eafabdffb593d6ea3ee87fd2bb70d5b105201314d20ed9abb1741a7b29b7)
+sha256sums=(244c9500e72d56506022c5bc26e7b11d6ce05e6cff023829541be9e564627a03)
build() {
diff --git a/src/plugins/clock.py b/src/plugins/clock.py
index fc99ca4..2f0932a 100644
--- a/src/plugins/clock.py
+++ b/src/plugins/clock.py
@@ -62,7 +62,7 @@ class Clock:
if not self.utc:
return time.strftime(self.format)
else:
- datetime.fromtimestamp(time.time(), tz = timezone.utc).strftime(self.format))
+ return datetime.fromtimestamp(time.time(), tz = timezone.utc).strftime(self.format)
def sync(self):