Skip to content

feat: Switch to 12-hour time format in routines#60

Merged
PranavPurwar merged 1 commit intoaload0:mainfrom
hasrat-ali:main
Mar 13, 2026
Merged

feat: Switch to 12-hour time format in routines#60
PranavPurwar merged 1 commit intoaload0:mainfrom
hasrat-ali:main

Conversation

@hasrat-ali
Copy link
Contributor

Updated the routine creation and display logic to use a 12-hour time format (AM/PM) instead of the 24-hour format. This improves readability and provides a more familiar user experience when setting up daily schedules.

- Update `rememberTimePickerState` to use 12-hour mode in `CreateRoutineScreen`.
- Update `formatTime` utility to use "hh:mm a" pattern in both `CreateRoutineScreen` and `RoutinesScreen`.
@PranavPurwar PranavPurwar merged commit b3be184 into aload0:main Mar 13, 2026
1 check failed
@PranavPurwar
Copy link
Member

thanks for your contribution!

@guguss-31
Copy link

@PranavPurwar
Will the 24h format still be supported ?

@PranavPurwar
Copy link
Member

You can still set routine time for 24 hours, the picker will show am/pm for more accessibility to general public (who don't understand 24h clock)

@guguss-31
Copy link

the picker will show am/pm for more accessibility to general public (who don't understand 24h clock)

@PranavPurwar
Can you add an option to change the format to 24h ?

(who don't understand 24h clock)

I'm french and use the 24h clock. I don't use the 12h clock.

@PranavPurwar
Copy link
Member

sure, I'll add it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants