summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-15 18:01:08 -0500
committerCarl Hetherington <cth@carlh.net>2014-05-15 18:01:08 -0500
commit979739e929103dd68f942238303a218296cc90d7 (patch)
tree88e1dcb15b0ec78a0ed7b32dad7c124a543d276e /src/util.h
parentc01716ccab4ddc5c026ee2a02ae3b367049362e3 (diff)
Fix tm_to_string to use local timezone on all platforms. Some comments.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 2a6aae1b..94ee136a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -82,7 +82,7 @@ extern void add_signer (xmlpp::Element* parent, CertificateChain const & certifi
extern int base64_decode (std::string const & in, unsigned char* out, int out_length);
extern std::string tm_to_string (struct tm *);
-extern std::string utc_offset_to_string (int);
+extern std::string utc_offset_to_string (boost::posix_time::time_duration);
extern std::string ptime_to_string (boost::posix_time::ptime);
extern FILE * fopen_boost (boost::filesystem::path, std::string);