Skip to content

set seconds to 00 #399

@enriquezrene

Description

@enriquezrene

When a new entry is created from the time-entries menu option we need to set the start_times with seconds 00 and the same for end time.

When a user clock-in we need to set the current time with 00 seconds as well, and when the user clocks out we need to do the same.

You need to visit the functionalities in:

  • time-entries.component.ts => doSave(entry) function
  • project-list-hover.component.ts => clockIn(selectedProject, customerName, name) function
  • project-list-hover.component.ts => switch(selectedProject, customerName, name) function
  • time-clock.component.ts => clockOut() funcion

Make sure the backend allows saving this info, for example an entry:

start time => 18-06-2020T10:00:00Z
end time => 18-06-2020T11:00:00Z

start time => 18-06-2020T11:00:00Z
end time => 18-06-2020T15:00:00Z

Notice that both entries have the same value for end_time and start_time

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmvpminimum viable productnice to have

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions