Skip to content

Commit

Permalink
test: Fix TimePicker tests crash for 24h clock
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Feb 13, 2024
1 parent 3b2cffb commit 4bfa1cf
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 4bfa1cf

Please sign in to comment.