diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-30 00:42:03 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-30 00:42:03 +0000 |
| commit | 0cbdfdd6c0ef9a1b72070ee741be76332491392a (patch) | |
| tree | 119f906981a3b17989fcce8c114aa00ec66f194a /src/lib/util.h | |
| parent | 072658c553eff4103bc962eec8b3b83aa05210ea (diff) | |
Fix non-translated days of the week (#1455).
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index 7c0eb4b6d..86be99648 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -32,6 +32,7 @@ #include <boost/shared_ptr.hpp> #include <boost/optional.hpp> #include <boost/filesystem.hpp> +#include <boost/date_time/gregorian/gregorian.hpp> #include <string> #include <map> #include <vector> @@ -101,6 +102,7 @@ extern Eyes increment_eyes (Eyes e); extern void checked_fread (void* ptr, size_t size, FILE* stream, boost::filesystem::path path); extern void checked_fwrite (void const * ptr, size_t size, FILE* stream, boost::filesystem::path path); extern size_t utf8_strlen (std::string s); +extern std::string day_of_week_to_string (boost::gregorian::greg_weekday d); #ifdef DCPOMATIC_VARIANT_SWAROOP extern boost::shared_ptr<dcp::CertificateChain> read_swaroop_chain (boost::filesystem::path path); extern void write_swaroop_chain (boost::shared_ptr<const dcp::CertificateChain> chain, boost::filesystem::path output); |
