unit for hour and travel time
Created by: locdle
Imported comments:
By locdle on 2015-02-24 05:30:50 UTC
backend will send us 24 hours in string and duration is string in format "min:sec", so do we choose the unit for travel in min or sec or min:sec
By kl0211 on 2015-02-25 00:39:37 UTC
Perhaps including seconds might be too precise? I can't think of any application that is that fine-grained with time. Perhaps the minute time could be rounded, and if less than 1 minute, it could just display "< 1". I'd love to hear other opinions on this.
By donahue2 on 2015-02-25 19:44:44 UTC
Yeah, if the point of the app is computing travel times across highway distances, seconds is way to granular. Google maps keeps it to the minute, and that has always been plenty sufficient and accurate for me.
By joshproehl on 2015-02-26 16:32:07 UTC
Technically what the stats query is currently producing is not minute:second, it's decimal minutes.
Which, since I'm lazy, is actually easier to just round to the nearest whole minute rather than convert to min:sec.