GnuCashew ~ GnuCash Enabled Web
GCW
GnuCashew.cpp
Go to the documentation of this file.
1 #line 2 "src/GnuCashew.cpp"
2 
3 #include <thread>
4 #include <ctime>
5 #include <iostream>
6 #include <fstream>
7 
8 #include <Wt/WMenu.h>
9 #include <Wt/WPopupMenu.h>
10 #include <Wt/WPushButton.h>
11 #include <Wt/WTabWidget.h>
12 #include <Wt/WText.h>
13 #include <Wt/WTime.h>
14 #include <Wt/WToolBar.h>
15 #include <Wt/WTreeTableNode.h>
16 
17 #include "GnuCashew.h"
18 
19 
20 /// TODO these should be moved to a user-adjustable config file
22 {
23  return DECIMAL::decimal_format( '.', ',' );
24 }
25 
26 /// TODO these should be moved to a user-adjustable config file
27 std::string GCW::Cfg::date_format()
28 {
29  return "MM/dd/yyyy";
30 // return "yyyy-MM-dd";
31 }
32 
33 
34 /// TODO these should be moved to a user-adjustable config file
35 std::string GCW::Cfg::time_format()
36 {
37  return "hh:mm:ss";
38 }
39 
40 
std::string date_format()
Date Format Specifier.
Definition: GnuCashew.cpp:27
std::string time_format()
Time Format Specifier.
Definition: GnuCashew.cpp:35
DECIMAL::decimal_format decimal_format()
Decimal Format Specifier.
Definition: GnuCashew.cpp:21