forked from HowardHinnant/date
Unit test and typo fix
This commit is contained in:
committed by
Howard Hinnant
parent
9f1c4b0110
commit
db60c5eb8e
+1
-1
@@ -2344,7 +2344,7 @@ struct clock_time_conversion<std::chrono::system_clock, local_t>
|
||||
sys_time<Duration>
|
||||
operator()(const local_time<Duration>& lt) const
|
||||
{
|
||||
return sys_time<Duration>{lt.time_sine_epoch()};
|
||||
return sys_time<Duration>{lt.time_since_epoch()};
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user