Fix #8257: Locale not showing 24h/12h mode.
* apply patch from 'luckypower', that fixes the problem in BFormattingConventions - thanks! Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
This commit is contained in:
parent
6552b1085c
commit
5dca884fa5
|
@ -558,9 +558,10 @@ BFormattingConventions::Use24HourClock() const
|
||||||
GetTimeFormat(B_MEDIUM_TIME_FORMAT, format);
|
GetTimeFormat(B_MEDIUM_TIME_FORMAT, format);
|
||||||
fCachedUse24HourClock
|
fCachedUse24HourClock
|
||||||
= FormatUsesAmPm(format) ? CLOCK_HOURS_12 : CLOCK_HOURS_24;
|
= FormatUsesAmPm(format) ? CLOCK_HOURS_12 : CLOCK_HOURS_24;
|
||||||
|
return fCachedUse24HourClock == CLOCK_HOURS_24;
|
||||||
}
|
}
|
||||||
|
|
||||||
return fCachedUse24HourClock == CLOCK_HOURS_24;
|
return fExplicitUse24HourClock == CLOCK_HOURS_24;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue