Skip to content

Commit

Permalink
Merge pull request unoplatform#15461 from Youssef1313/issues/15459
Browse files Browse the repository at this point in the history
test: Fix TimePicker tests crash for 24h clock
  • Loading branch information
jeromelaban authored Feb 14, 2024
2 parents f7b5123 + 4bfa1cf commit 1d5158a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class TimePickerIntegrationTests
private static Calendar CreateTime(int hours, int minutes, int period = 1)
{
var time = new Calendar();
time.ChangeClock(ClockIdentifiers.TwelveHourValue);
time.Hour = hours;
time.Minute = minutes;
time.Period = period;
Expand Down

0 comments on commit 1d5158a

Please sign in to comment.