diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-17 18:19:25 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-17 18:19:25 -0400 |
commit | fadab59e87f7a4789e904f8bda73ed26fbbfd9a8 (patch) | |
tree | 22b5c5d177386f2f272135adadf7d02e3e7eb7c5 /datetime.h | |
parent | de39574e89cc72aef157d10d451fac1f78af37c6 (diff) | |
download | fork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.tar.gz fork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.tar.bz2 fork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.zip |
changes to value expressions, and to how the display predicate is computed
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); |