diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-11 05:19:01 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-11 05:19:01 -0400 |
commit | f161aea8ce96c20f888cd65a78e178e5f5552dc2 (patch) | |
tree | b8f9279c611fe08f1b10bb885144f7c275c7561d /src/session.h | |
parent | 1a8e835bfe2cb18cd10691d7a4ab0fc478c4aced (diff) | |
download | fork-ledger-f161aea8ce96c20f888cd65a78e178e5f5552dc2.tar.gz fork-ledger-f161aea8ce96c20f888cd65a78e178e5f5552dc2.tar.bz2 fork-ledger-f161aea8ce96c20f888cd65a78e178e5f5552dc2.zip |
Removed reliance on strptime/strftime
The code now uses Boost's input and output facets for times and dates.
This ensures completely consistency regarding timezones and times, and
fixes the regression test that was broken while I was away coding in
London (where it was GMT-0 and I didn't notice the difference between
local and GMT).
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.h b/src/session.h index 5d6a12b9..894c59fa 100644 --- a/src/session.h +++ b/src/session.h @@ -67,7 +67,7 @@ class session_t : public symbol_scope_t public: bool flush_on_next_data_file; - int current_year; + date_t::year_type current_year; shared_ptr<commodity_pool_t> commodity_pool; scoped_ptr<account_t> master; |