We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d3d941 commit c64eb81Copy full SHA for c64eb81
lib/parse-datetime.y
@@ -778,9 +778,9 @@ iso_8601_time:
778
| tUNUMBER ':' tUDECIMAL_NUMBER o_zone_offset
779
{
780
hhmmss_decimal hhmm;
781
- hhmm.digits = $1.digits + $3.digits;
+ hhmm.timespec.tv_sec = $1.value * 100 + $3.timespec.tv_sec;
782
hhmm.timespec.tv_nsec = $3.timespec.tv_nsec;
783
- hhmm.timespec.tv_sec += $1.value * 100 + $3.timespec.tv_sec;
+ hhmm.digits = $1.digits + $3.digits;
784
decimal_to_time (pc, hhmm);
785
pc->meridian = MER24;
786
}
0 commit comments