pavulon18 / gcas_timesheet_php_website

A website built in PHP for GCAS Timesheet application.
MIT License
2 stars 0 forks source link

Adjust time method needs to deal with rolling over the date also #61

Open pavulon18 opened 6 years ago

pavulon18 commented 6 years ago

Describe the bug A clear and concise description of what the bug is.

currently, when a time is between 2346 and 2350, the method sets the minutes to "00" and adds one to the hour, which in this case would make it "24". In this case, the 24 needs to be made "00" and the day needs +1. Perhaps I am not handling the time properly. I'll need to look into this.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.