some simple reformating

This commit is contained in:
moneroexamples 2016-11-22 17:13:35 +08:00
parent 7da58d4221
commit 996ce2c847
2 changed files with 3 additions and 1 deletions

View file

@ -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)
{ {

View file

@ -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