Time string

Does anyone know how to remove the AM PM from the time variable, i need to compare the time variable to a variable from Cal Search string, but it doesn't contain AM PM. what i need is 24h format, this is so annoying as it worked up to a week ago, I don't understand why Hubitat changed it to this crazy format

1 Like

Yes it's weird, I set my hub to 24h and it still shows AM and PM, mixed with 24h notation.
I think before 2.2.8... it wasn't like this.