diff options
Diffstat (limited to 'datetime.h')
-rw-r--r-- | datetime.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,8 @@ #include "ledger.h" +#include <ctime> + namespace ledger { struct interval_t @@ -20,6 +22,7 @@ struct interval_t static interval_t * parse(std::istream& in); }; +extern std::time_t now; extern struct std::tm * now_tm; bool parse_date_mask(const char * date_str, struct std::tm * result); |