summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-11 05:19:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-11 05:19:01 -0400
commitf161aea8ce96c20f888cd65a78e178e5f5552dc2 (patch)
treeb8f9279c611fe08f1b10bb885144f7c275c7561d /src/session.h
parent1a8e835bfe2cb18cd10691d7a4ab0fc478c4aced (diff)
downloadfork-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.h2
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;