# Advanced flow - fix time picker using AM/PM when rest of flow is using 24 hour clock

**URL:** <https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042>\
**Category:** Ideas & Suggestions\
**Tags:** advancedflow\
**Created:** [June 24, 2023, 6:57am UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042 "2023-06-24T06:57:19Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fredric\_Georgsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredric_georgsson/32/59646_2.png) [@Fredric\_Georgsson](https://community.homey.app/u/Fredric_Georgsson)\
**Post date:** [June 24, 2023, 6:57am UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/1 "2023-06-24T06:57:19Z")

</div>

I can’t use AM/PM, that system is just not wired in my brain. Can’t do it. The time picker in Advanced Flow forces me to use AM/PM, and the the time that was picked is shown with 24 hour clock. It just doesn’t make sense.

16:00 - 23:59 in card.  
4:00 PM - 11:59 PM in picker.

It’s also impossible to just type anything above 19 in the hour field of the picker even though the card shows 23 if you pick 11 PM.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d721c30b187d325b4affcf102152a583dd0612e8.png)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [June 24, 2023, 12:10pm UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/2 "2023-06-24T12:10:46Z")

</div>

I don’t think that comes from Advanced flow as such, it seems to be an issue of a specific app and I think you’d have better luck getting it sorted by posting in the thread for that app.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 24, 2023, 3:29pm UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/3 "2023-06-24T15:29:13Z")

</div>

I “accepted” it, but it’s just plain silly and ‘not really smart’, while it can show 24h clock just fine, **but not while entering / editing time**.

@Henrik_Johnsson as far as I’ve seen, it’s Homey firmware related, not on app level.

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [June 24, 2023, 5:07pm UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/4 "2023-06-24T17:07:58Z")

</div>

As I have never encountered it in any of the apps I use, I assumed it was app specific. Maybe I’ve just been lucky.

---

<div class="post-metadata">

**Author:** ![Fredric\_Georgsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredric_georgsson/32/59646_2.png) [@Fredric\_Georgsson](https://community.homey.app/u/Fredric_Georgsson)\
**Post date:** [June 26, 2023, 11:09am UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/5 "2023-06-26T11:09:19Z")

</div>

It’s not app specific, the same behaviour is present in all time pickers.

This is what happens if you press “2” in the hour field to try to type “20:00” for example.  
It becomes “02:\_\_” and skips right to the minute field. Same problem with 12 hour vs 24 hour clock in the Datetime app.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/2/329422e084bdf301d3e89c854d8b697826935e06.png)

If you type “19” into the hour field that kind of “works”, it is converted to 7 PM. The magic number 20+ as forbidden value doesn’t make sense.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/987d2b0d477cde7b5c22901b4d699e2c64263a49.png)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [June 26, 2023, 2:58pm UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/6 "2023-06-26T14:58:26Z")

</div>

Strange, entering 20+ works just fine for me on HP19. I have language set to English but my location is set to Sweden. Seems like something could be wrong with the locale settings.  
I know there was a thread a while back where a user had a similar issue with 12H/24H format despite everything looking right in the configuration.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 26, 2023, 3:03pm UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/7 "2023-06-26T15:03:23Z")

</div>

Tested with Homey Cloud, language = Dutch, location NL.  
It does actually auto convert 20 to 08 PM and 21 to 09 PM  
It’s still silly for a ‘smart’ system to show me Murrcan timeformat 🤣  
 ![Screenshot from 2023-06-26 17-00-32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/9/a9ec52b3520f4949616dab450b521a904be4be82.png)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [June 26, 2023, 3:27pm UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/8 "2023-06-26T15:27:26Z")

</div>

Should perhaps add that it doesn’t convert to 12H format for me, it stays 24H format.

---

<div class="post-metadata">

**Author:** ![Fredric\_Georgsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredric_georgsson/32/59646_2.png) [@Fredric\_Georgsson](https://community.homey.app/u/Fredric_Georgsson)\
**Post date:** [June 29, 2023, 9:10pm UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/9 "2023-06-29T21:10:54Z")

</div>

In Chrome this language setting might be of interest

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/c/fc5bc7d5d2da0243010462dd36f5559b05952d71.png)

Everything works well in Microsoft Edge. I can type 20:00 just fine, and the picker is showing 24 hour format. Same computer.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/9/29435a58784b508019df98c8a602536d3a89536a.png)

Seems like code for detecting preferred locale is broken in Chrome.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 30, 2023, 12:19am UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/10 "2023-06-30T00:19:04Z")

</div>

### Great find!!

I’m using Firefox atm, and the language was set to EN (US). I changed it to Dutch, et voila, a 24 hour picker

 ![Screenshot from 2023-06-30 02-17-12](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/d/8deb250461e44401e0ff7ac9ffa2a0d0b5ee1492.png)

---

<div class="post-metadata">

**Author:** ![Fredric\_Georgsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredric_georgsson/32/59646_2.png) [@Fredric\_Georgsson](https://community.homey.app/u/Fredric_Georgsson)\
**Post date:** [June 30, 2023, 9:13pm UTC](https://community.homey.app/t/advanced-flow-fix-time-picker-using-am-pm-when-rest-of-flow-is-using-24-hour-clock/83042/11 "2023-06-30T21:13:37Z")

</div>

In Chrome my preferred language is 1. Swedish which use 24 hour clock. I think Homey is using locale for Chrome UI instead of preferred content language. Which could be right, not sure, but since the UI is actually displayed in Swedish the clock ought to be displayed in 24 hour format as well.
