nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
990 stars 240 forks source link

Appointmentt booking, available time not taking into consideration #6541

Open schiessle opened 2 days ago

schiessle commented 2 days ago

Steps to reproduce

This are my appointment settings regarding availability:

Image

Friday, 10:00 - 12:00

If I open the link to book a appointment this times are shown:

Image

Also interesting, the available dates start at 12:00 (the actual time from which on I don't want to allow booking a appointment) while the whole morning would be free for appointments but no timeslots are offered.

Tested on c.nc.com

Expected behavior

Times configured in the settings are considered

Actual behaviour

Times configured in the settings are not considered

Calendar app version

No response

CalDAV-clients used

No response

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

No response

Updated from an older installed version or fresh install

None

List of activated apps

Nextcloud configuration

Web server error log

Log file

Browser log

Additional info

No response

SebastianKrupinski commented 2 days ago

Duplicate of #https://github.com/nextcloud/calendar/issues/6529

schiessle commented 2 days ago

@SebastianKrupinski not sure if it is because of the timezone. Nextcloud calendar is set to "Europe (Berlin)" and my operating system as well. I assume Firefox gets the timezone from the operating system because I couldn't find a dedicated setting in firefox.

SebastianKrupinski commented 2 days ago

@SebastianKrupinski not sure if it is because of the timezone. Nextcloud calendar is set to "Europe (Berlin)" and my operating system as well. I assume Firefox gets the timezone from the operating system because I couldn't find a dedicated setting in firefox.

Okay, its possible that it might be something else but the symptoms are identical. I will get someone to pull you availability config to confirm.

SebastianKrupinski commented 1 day ago

@schiessle

I had your availability pulled.

{
    "timezoneId": "Europe/Berlin",
    "slots": {
        "MO": [
            {
                "start": 1647248400,
                "end": 1647273600
            }
        ],
        "TU": [
            {
                "start": 1647248400,
                "end": 1647273600
            }
        ],
        "WE": [
            {
                "start": 1647248400,
                "end": 1647273600
            }
        ],
        "TH": [
            {
                "start": 1647248400,
                "end": 1647273600
            }
        ],
        "FR": [
            {
                "start": 1733130000,
                "end": 1733137200
            }
        ],
        "SA": [],
        "SU": []
    }
}

The configuration is correct,1647248400 converts to Monday March 14, 2022 10:00:00 (am) in time zone Europe/Berlin (CET)

So this is something new.