fixes unit issues when difftime is allowed to auto-pick time units.
Need to define units in difftime
otherwise will auto-choose. This was causing an issue when the difftime of an event start time and the last "punch" were close (e.g., minutes) but the time between punches was far (e.g., an hour). The as.numeric
was then causing scaling issues.