Comments (3)
The user input is parsed in the order in which a user entered it, so it is true that $initTime
is not set yet at this point in the code when an end time is set first. We are checking for init time in this line in order to facilitate the addition of 0-hour tasks, but I will move some code outside of the switch statement to do this check. It seems best to avoid any block in the switch statement relying on any of the variables in other blocks since they could come in any order.
from phpreport.
Good catch, thanks!
from phpreport.
Fixed with:
commit 1dda98ef7c534e0d04bc6f147a0959e1006874b3
Author: Danielle M <[email protected]>
Date: Wed Feb 8 10:48:13 2023 -0800
611 midnight task error (#612)
* Move handling for 0-hour tasks outside switch in createTasksService and add same handling in updateTasksService
from phpreport.
Related Issues (20)
- Add DELETE endpoint for templates HOT 1
- Implement Task Card
- Set up and configure tests for API
- Create basic tests for template endpoints
- Implement token refresh logic
- Implement Work Summary Panel
- Implement Save as Template
- Add sentry to API
- Add sentry to frontend
- Refine new frontend paths HOT 2
- Add support links to left navigation
- Add user information to the left sidebar
- Implement Week view
- Add image build to actions
- Redirect user to previous url before auth
- Month view
- Add tests coverage for the API
- Edit allocation feature HOT 1
- Remove allocation feature
- Display only projects assigned to user + leave projects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpreport.