From 9ffb94a275c285bb70d9e21037c882956bb6001e Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Fri, 11 Feb 2011 22:31:46 +0200 Subject: Unified date formatting and added recording duration format into translations. --- tools.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 272dce8..61cce8b 100644 --- a/tools.h +++ b/tools.h @@ -24,6 +24,8 @@ std::ostream& operator<<( std::ostream& os, tChannelID const& id ) namespace vdrlive { + std::string FormatDuration( char const* format, int duration ); + std::string FormatDateTime( char const* format, time_t time ); std::string StringReplace( std::string const& text, std::string const& substring, std::string const& replacement ); -- cgit v1.2.3