Skip to content

Commit bd93e50

Browse files
committed
[reltime] missed copying hours somehow, sigh
1 parent 996edeb commit bd93e50

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/relative_time.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,7 @@ relative_time::to_microseconds() const
11351135
etm.et_tm.tm_mday = 1;
11361136
}
11371137
etm.et_tm.tm_yday = -1;
1138+
etm.et_tm.tm_hour = this->rt_field[RTF_HOURS].value;
11381139
etm.et_tm.tm_min = this->rt_field[RTF_MINUTES].value;
11391140
etm.et_tm.tm_sec = this->rt_field[RTF_SECONDS].value;
11401141

0 commit comments

Comments
 (0)