MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. sandclear
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    sandclear

    @sandclear

    0
    Reputation
    48
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    sandclear Unfollow Follow

    Latest posts made by sandclear

    • MMM-MyCommute Time Formats are kicking my butt

      Hi Everyone, my MMM-MyCommute is displaying a travel time as “X hours”, but I would like it to be more precise. Google Maps shows it as “X hr Y min.” I simply want the minutes included. I can’t get travelTimeFormat or travelTimeFormatTrim to affect any change for me, and I can’t find any arguments about precision. Any ideas?

      0_1576702857786_example.PNG

      {
      module: "MMM-MyCommute",
      position: "bottom_right",
      header: 'Current Traffic',
      		config: {
          		apikey: '//API KEY//',
          		origin: "//ORIGIN ADDRESS",
          		startTime: "00:00",
      		nextTransitVehicleDepartureFormat: "[next at] h:mm a",
      		endTime: "23:59",
          		destinations: [
            				{
              			destination: '//DESTINATION 1 ADDRESS',
             	 			label: "Destination 1",
      				mode: "driving",
      				alternatives: true,
              			color: "#82E5AA"
            				},
            				{
              			destination: '//DESTINATION 2 ADDRESS',
             	 			label: "Destination 2",
              			mode: "transit",
      				transitMode: "subway",
      				showNextVehicleDeparture: true,
              			color: "#e5e082"
            				}
          				]
        				}
      		},
      
      posted in Troubleshooting
      S
      sandclear