Skip to main content
Skip table of contents

Set Time In/Out to Display Rounded Time (Optional)

If you are using TimeLogRoundingInterval, the actual time value displays on the initial form load when the user times in and/or out. If you would prefer to display the actual time, you can update the Offline HTML form in the Woodford project to change the value of the roundInitialTimeInOut setting. 

The default value is false, which displays the actual time value. By setting the value to true, the rounded time displays. For example, with the roundInitialTimeInOut to true and you are rounding by 5, and the user is timing in at 4:07, the time displayed is 4:05. If timing out at 4:32, the time displayed is 4:30. 

To set the time in/out to display rounded time values:

  1. In MobileTech Admin, go to Tools > Launch Woodford.
  2. Double-click the Woodford project.
  3. In the left navigation, under Components, select Offline HTML.
  4. Double-click the entity folder.
  5. Double-click the timelog folder.
  6. Select timelog-form.html and then select Edit.
  7. Update the var roundInitialTimeInOut line to true.
  8. If you are also using Travel Timelog, you will need to complete the following steps:
    1. Double-click the entity folder.
    2. Double-click the appointment folder.
    3. Select appointment-list.html and then select Edit.
    4. Update the var roundInitialTimeInOut line to true.
  9. Select SAVE.
  10. Select Save.
  11. Publish the project.
  12. Sync the devices.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.