Timer shows military time only on cell phone

No it doesn’t. I’m not on a computer right now, but arrow notation means replacing the => functions with fully qualified function notation instead, including function keyword, optional (and preferred) function name, function braces, and where needed return keyword.