-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add timezone on clockify entry fill #116
base: main
Are you sure you want to change the base?
Conversation
); | ||
|
||
await _clockifyService.AddTimeEntryAsync(clockifyToken, workspaceId, timeEntry); | ||
|
||
// TODO Extract total hours calculation into another method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we solve it directly in this pr?
[Fact] | ||
public void WorkedPeriod_DateWithoutTime_ReturnsWorkedPeriodFromNineAm() | ||
{ | ||
var mondayFirstNovember = new DateTime(2021, 11, 8, 15, 0, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the name of this variable
[Fact] | ||
public void WorkedPeriod_PeriodStartingFromDateTime_ReturnsWorkedPeriod() | ||
{ | ||
var mondayFirstNovember = new DateTime(2021, 11, 8, 15, 0, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the name of this variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, I change the datetime without updating the variable's name
Closes #81