summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/tinderclient.bbclass8
-rw-r--r--packages/meta/openslug-packages.bb3
2 files changed, 7 insertions, 4 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass
index 5b55589ec0..3c88b2ac63 100644
--- a/classes/tinderclient.bbclass
+++ b/classes/tinderclient.bbclass
@@ -5,21 +5,21 @@ def tinder_tz_offset(off):
return int(off)
except ValueError:
if off == "Europe/Berlin":
- return 200
+ return 120
else:
return 0
def tinder_tinder_time(offset):
import datetime
- td = datetime.timedelta(tinder_tz_offset(offset))
+ td = datetime.timedelta(minutes=tinder_tz_offset(offset))
time = datetime.datetime.utcnow() + td
return time.strftime('%m/%d/%Y %H:%M:%S')
def tinder_tinder_start(date,offset):
import datetime, time
- td = datetime.timedelta(tinder_tz_offset(offset))
+ td = datetime.timedelta(minutes=tinder_tz_offset(offset))
ti = time.strptime(date, "%m/%d/%Y %H:%M:%S")
- ti = datetime.datetime(*ti[0:7])-td
+ time = datetime.datetime(*ti[0:7])+td
return time.strftime('%m/%d/%Y %H:%M:%S')
def tinder_send_email(da, header, log):
diff --git a/packages/meta/openslug-packages.bb b/packages/meta/openslug-packages.bb
index 07dc1d0080..802fc64b6c 100644
--- a/packages/meta/openslug-packages.bb
+++ b/packages/meta/openslug-packages.bb
@@ -24,6 +24,8 @@ OPENSLUG_DEVELOPMENT = "\
gnu-config \
grep \
gzip \
+ ipkg-utils \
+ libtool \
lsof \
m4 \
make \
@@ -32,6 +34,7 @@ OPENSLUG_DEVELOPMENT = "\
openssh \
patch \
pciutils \
+ pkgconfig \
quilt \
sed \
strace \