some simple reformating

master
moneroexamples 8 years ago
parent 7da58d4221
commit 996ce2c847

@ -629,6 +629,8 @@ namespace xmreg
return make_pair(empty_time, scale); return make_pair(empty_time, scale);
} }
// useful reference to get epoch time in correct timezon
// http://www.boost.org/doc/libs/1_41_0/doc/html/date_time/examples.html#date_time.examples.seconds_since_epoch
time_t time_t
ptime_to_time_t(const pt::ptime& in_ptime) ptime_to_time_t(const pt::ptime& in_ptime)
{ {

@ -43,7 +43,7 @@ namespace xmreg
namespace bf = boost::filesystem; namespace bf = boost::filesystem;
namespace pt = boost::posix_time; namespace pt = boost::posix_time;
namespace gt = boost::gregorian; namespace gt = boost::gregorian;
namespace lt = boost::local_time;
struct outputs_visitor struct outputs_visitor

Loading…
Cancel
Save