Hello! I often visit England from the US, and I'm trying to train myself to translate the familiar 12-hour am/pm time into its 24-hour counterpart quickly, so I'd like to make a widget that shows the time in 12-hour and right below it the time in 24-hour (for example, 2:30 right above 14:30). However, since the time format is specified in the general app settings, I can't figure out how to do this. I can set the KWGT time format setting to Auto, but then it defaults to whatever I've chosen in my general phone settings (I think). Is there any way to specify 12/24 hr format in the code, or am I stuck making two widgets on top of each other? Can I use a Komponent somehow? (I'm very new at this app so I don't really know what I'm doing yet.) Thanks!
You can set the time format to 12 hs, and in the 24 hours text use this code:
$df(H:mm)$ this are going to give the time in 24 hs. format and the common code in 12 format.I think this can work.👍
Thanks, I'll try it!