Skip to content

Bug: workpatterns_classify() cannot handle half-hour slots #150

@martinctc

Description

@martinctc

Currently, half-hour slots such as "08:30" may not be correctly reflected. The suggestion is to add in a rounding mechanism and a helpful message so they get moved to the say, "08:00" in this example.

start_hour <- as.numeric(gsub(pattern = "00$", replacement = "", x = start_hour))
end_hour <- as.numeric(gsub(pattern = "00$", replacement = "", x = end_hour))

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions