Skip to content

Conversation

@khaelys
Copy link
Collaborator

@khaelys khaelys commented Nov 8, 2021

Closes #81

@khaelys khaelys requested a review from zoncrd November 8, 2021 11:35

await _clockifyService.AddTimeEntryAsync(clockifyToken, workspaceId, timeEntry);

// TODO Extract total hours calculation into another method
Copy link
Collaborator

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);
Copy link
Collaborator

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);
Copy link
Collaborator

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

Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure entries are filled with proper timezone

3 participants