diff options
author | horchi <vdr@jwendel.de> | 2020-02-14 08:24:22 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2020-02-14 08:24:22 +0100 |
commit | 2e2804214a97a6fac527d90652b82238a769e67f (patch) | |
tree | 93d7823ff490f2e9cc2d0634348ba97f0bd93390 /lib/common.h | |
parent | 15f0fdaa237a7ddd2d29c1e2baee70806807ceb5 (diff) | |
download | vdr-plugin-epg2vdr-dev.tar.gz vdr-plugin-epg2vdr-dev.tar.bz2 |
fixed time handling for timerdev
Diffstat (limited to 'lib/common.h')
-rw-r--r-- | lib/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common.h b/lib/common.h index c8361ec..27c1772 100644 --- a/lib/common.h +++ b/lib/common.h @@ -292,6 +292,7 @@ const char* toWeekdayName(uint day); time_t hhmmOf(time_t t); int l2hhmm(time_t t); std::string hhmm2pTime(int hhmm); +time_t hhmm2L(int hhmm, time_t offset = 0); time_t midnightOf(time_t t); std::string l2pTime(time_t t, const char* format = "%d.%m.%Y %T"); std::string l2pDate(time_t t); |