mirror of
https://github.com/HowardHinnant/date.git
synced 2026-08-03 20:14:08 +02:00
+1
-1
@@ -8047,7 +8047,7 @@ from_stream(std::basic_istream<CharT, Traits>& is, const CharT* fmt,
|
|||||||
{
|
{
|
||||||
if (offset_local != std::chrono::minutes::min())
|
if (offset_local != std::chrono::minutes::min())
|
||||||
{
|
{
|
||||||
tp = round_i<Duration>(sys_days(fds.ymd) - offset_local + fds.tod.to_duration());
|
tp = round_i<Duration>(sys_days(fds.ymd) + fds.tod.to_duration() - offset_local);
|
||||||
if (offset != nullptr)
|
if (offset != nullptr)
|
||||||
*offset = offset_local;
|
*offset = offset_local;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user