summaryrefslogtreecommitdiff
path: root/src/local_time.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-30 18:11:50 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-30 18:12:39 +0100
commitef35f6a6c43d2be30b82ca943c56cf06f140d24d (patch)
treee32aafcc3128bb5d63de6153e8f8f0e2f7db5c28 /src/local_time.h
parent80975a042167710ae24dca887e1a2ba96fe2ad5e (diff)
Fix LocalTime::operator< and operator> to handle offset gracefully.
Diffstat (limited to 'src/local_time.h')
-rw-r--r--src/local_time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local_time.h b/src/local_time.h
index f0fa4b63..fdb6fc90 100644
--- a/src/local_time.h
+++ b/src/local_time.h
@@ -162,6 +162,7 @@ private:
void set (struct tm const * tm);
void set (boost::posix_time::ptime);
void set_local_time_zone ();
+ dcp::LocalTime as_utc() const;
/* Local time */
int _year = 0; ///< year