| Summary: | [patch] /usr/games/grdc displays wrong time in 12-hour mode between 12:00 and 13:00 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Nick Price <nick> | ||||
| Component: | bin | Assignee: | Ed Maste <emaste> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Many People | CC: | emaste, nick | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | 10.1-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194291 | ||||||
| Attachments: |
|
||||||
A commit references this bug: Author: emaste Date: Tue Jun 2 20:53:18 UTC 2015 New revision: 283929 URL: https://svnweb.freebsd.org/changeset/base/283929 Log: Correct grdc(1) 12-hour display between 12:00 and 13:00 PM starts at 12:00, not 13:00. PR: 194291, 200133 Submitted by: Nick Price MFC after: 1 week Changes: head/games/grdc/grdc.c A commit references this bug: Author: emaste Date: Thu Sep 24 19:37:35 UTC 2015 New revision: 288185 URL: https://svnweb.freebsd.org/changeset/base/288185 Log: MFC r283929: Correct grdc(1) 12-hour display between 12:00 and 13:00 PM starts at 12:00, not 13:00. PR: 194291, 200133 Submitted by: Nick Price Changes: _U stable/10/ stable/10/games/grdc/grdc.c A commit references this bug: Author: emaste Date: Thu Sep 24 19:42:33 UTC 2015 New revision: 288186 URL: https://svnweb.freebsd.org/changeset/base/288186 Log: MFC r283929: Correct grdc(1) 12-hour display between 12:00 and 13:00 PM starts at 12:00, not 13:00. PR: 194291, 200133 Submitted by: Nick Price Changes: _U stable/9/games/grdc/ stable/9/games/grdc/grdc.c |
Created attachment 156664 [details] patch to grdc.c to fix bug nested if statements did not account for condition where hour was == 12