diff --git a/include/fc/time.hpp b/include/fc/time.hpp index ffb6a9d..6df8e8d 100644 --- a/include/fc/time.hpp +++ b/include/fc/time.hpp @@ -60,6 +60,9 @@ namespace fc { time_point_sec() :utc_seconds(0){} + explicit time_point_sec(uint32_t seconds ) + :utc_seconds(seconds){} + time_point_sec( const time_point& t ) :utc_seconds( t.time_since_epoch().count() / 1000000ll ){}