Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] Add the ability to round timesheeted times (in minutes) #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

StephaneMangin
Copy link
Contributor

@StephaneMangin StephaneMangin commented Sep 7, 2023

Add the ability to round time using a delta of minutes (max: 240)

Examples:
With a rounding of 15 minutes, tasks are rounded like this:

  • less than 00:07:30 -> 00:00
  • more than 00:07:30 -> 00:15
  • 01:34 -> 01:30
  • 02:45:01 -> 02:45
  • 02:46 -> 02:45
  • 02:52 -> 02:45
  • 02:53 -> 03:00

Also a force rounding above option has been added to force time to be rounded up (except for start entries indicated by ***):

  • less or equal to 00:00 -> 00:00
  • less than 00:15 -> 00:15
  • 01:34 -> 01:45
  • 02:45:01 -> 03:00
  • 02:46 -> 03:00
  • 02:52 -> 03:00
  • 02:53 -> 03:00

@StephaneMangin StephaneMangin force-pushed the rounding_hours branch 2 times, most recently from bec9a3d to 00d2d86 Compare September 7, 2023 13:14
@StephaneMangin StephaneMangin marked this pull request as draft September 7, 2023 13:46
@StephaneMangin StephaneMangin force-pushed the rounding_hours branch 2 times, most recently from 52960b5 to 7d4ded8 Compare September 7, 2023 15:25
@StephaneMangin StephaneMangin force-pushed the rounding_hours branch 4 times, most recently from 8adeb44 to 99bde59 Compare September 8, 2023 15:05
@StephaneMangin StephaneMangin marked this pull request as ready for review September 8, 2023 15:06
@StephaneMangin StephaneMangin force-pushed the rounding_hours branch 6 times, most recently from b7329a4 to e840a33 Compare September 8, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants