Skip to content

Recurring blocked times off by one day after the first week #913

@ikke-t

Description

@ikke-t

Describe the bug**

I try to block a resource reservation only to happen each thursday. It works for the first week, but rest of the weeks it is off by one, being open for reservations at fridays. Apologies the screenshots are from Finnish lang, but that's what I have on my tablet while on road.

To Reproduce**

Steps to reproduce the behavior:

  1. Timezone is Europe/Helsinki
  2. Calendar week start day is monday (doesn't make difference)
  3. Go to block resources
  4. Select time range from 0 to 24
  5. Select repeat weekly
  6. Select all days but thursday

Expected behavior**

Resource calendar should show resource available each thursday, and rest of the days blocked. Instead, only the first thursday is available and all the rest weeks friday is only available day.

Screenshots**

Image
Image

Additional context**

I tried changing the start of the week day for calendar back to sunday. No difference. If I change the time from 0-24 to say 17-24, the first occurance is also day off. So perhaps also some tz miscalculation.

I verified both LB and mariadb TZ are in Helsinki.

Specifications

  • LibreBooking version (or SHA if using the develop bproblem: sorry on travel with no access to laptop, but last weeks version from git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions