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

Add timezone on clockify entry fill #116

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

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
src/Clockify/Fill/EntryFillDialog.cs Show resolved Hide resolved
);

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?

src/Common/Recognizer/TimeSurveyBotLuisEx.cs Show resolved Hide resolved
[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
2 participants