MMM-MyCommute icon indicating copy to clipboard operation
MMM-MyCommute copied to clipboard

Format config for nextTransitVehicleDepartureFormat

Open ruudvddries opened this issue 6 years ago • 1 comments

I would look to show the next transit departure time. My MagicMirror is in 24h format. But the next departure time is currently shown as 10:24 instead of 22:24. How do I change this?

This is isn't enough for me....

nextTransitVehicleDepartureFormat |

For any transit destinations where showNextVehicleDeparture is true, this dictates how to format the next arrival time.Type: stringDefaults to [next at] h:mm a.

Hope to hear from you.

Best regards,

Ruud

ruudvddries avatar Apr 12 '18 20:04 ruudvddries

Look at: https://momentjs.com/docs/#/parsing/string-format/ it should help

bilbolodz avatar May 22 '18 20:05 bilbolodz