nextcloud / nextcloud/calendar
Switching dates in calendar view does not skip weekends when they are disabled.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Steps to reproduce
- Disable weekends in the calendar settings.
- Set the calendar view to display only one day.
- Navigate forward from Friday.
Expected behavior
The calendar should skip directly to Monday, and the date displayed between the navigation arrows should immediately update to Monday's date.
Actual behavior
The page view skips from Friday to Monday, but the date text between the navigation arrows changes to Saturday. The user has to click the arrow three more times just to get the date to advance from Monday to Tuesday.
Calendar app version
6.5.0
CalDAV-clients used
none
Browser
Edge Wersja 149.0.4022.80 64-bit
Client operating system
Windows 11 25H2
Server operating system
RHEL
Web server
Apache
Database engine version
MariaDB
PHP engine version
PHP 8.3
Nextcloud version
Nextcloud Hub 26 Winter (33.0.5)
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
Enabled:
- activity: 6.0.0
- admin_audit: 1.23.0
- bruteforcesettings: 6.0.0
- calendar: 6.5.0
- cloud_federation_api: 1.17.0
- comments: 1.23.0
- contactsinteraction: 1.14.1
- dashboard: 7.13.0
- dav: 1.36.0
- federatedfilesharing: 1.23.0
- federation: 1.23.0
- files: 2.5.0
- files_downloadlimit: 5.1.0
- files_reminders: 1.6.0
- files_sharing: 1.25.2
- files_trashbin: 1.23.0
- files_versions: 1.26.0
- guests: 4.7.5
- logreader: 6.0.0
- lookup_server_connector: 1.21.0
- nextcloud_announcements: 5.0.0
- notifications: 6.0.0
- oauth2: 1.21.0
- password_policy: 5.0.0
- photos: 6.0.0
- privacy: 5.0.0
- profile: 1.2.0
- provisioning_api: 1.23.0
- related_resources: 4.0.0
- serverinfo: 5.0.0
- settings: 1.16.0
- support: 5.0.0
- survey_client: 5.0.0
- systemtags: 1.23.0
- text: 7.0.1
- theming: 2.8.0
- twofactor_backupcodes: 1.22.0
- twofactor_totp: 15.0.0
- updatenotification: 1.23.0
- user_ldap: 1.24.0
- user_status: 1.13.0
- viewer: 6.0.0
- webhook_listeners: 1.5.0
- workflowengine: 2.15.0
Disabled:
- app_api: 33.0.0 (installed 33.0.0)
- circles: 33.0.0 (installed 33.0.0)
- contacts: 8.4.5 (installed 8.4.5)
- encryption: 2.21.0
- files_external: 1.25.1
- files_pdfviewer: 6.0.0 (installed 6.0.0)
- firstrunwizard: 6.0.0 (installed 6.0.0)
- recommendations: 6.0.0 (installed 6.0.0)
- sharebymail: 1.23.0 (installed 1.23.0)
- suspicious_login: 11.0.0
- testing: 1.23.0
- twofactor_nextcloud_notification: 7.0.0
- twofactor_webauthn: 2.6.0
- weather_status: 1.13.0 (installed 1.13.0)
Nextcloud configuration
{
"system": {
"instanceid": "",
"passwordsalt": "",
"secret": "",
"trusted_domains": [
"nextcloud.domain",
"nextcloud.domain.local"
],
"datadirectory": "",
"dbtype": "mysql",
"version": "33.0.5.1",
"overwrite.cli.url": "",
"dbname": "",
"dbhost": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "",
"dbpassword": "",
"installed": true,
"defaultapp": "calendar",
"mail_smtpmode": "smtp",
"mail_from_address": "",
"mail_domain": "",
"mail_smtphost": "",
"mail_smtpport": "",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_smtpstreamoptions": {
"ssl": {
"allow_self_signed": false,
"verify_peer": true,
"verify_peer_name": true
}
},
"mail_smtppassword": "",
"mail_smtpname": "",
"mail_smtpauth": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "",
"port": "6380"
},
"default_language": "pl",
"default_locale": "pl_PL",
"maintenance_window_start": 1,
"maintenance": false,
"skeletondirectory": "",
"default_phone_region": "PL",
"serverid": "nc_1",
"config_preset": 0,
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"theme": "",
"loglevel": 2
}
}
Web server error log
Log file
Browser log
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the calendar app with weekends disabled and a one-day view, navigating forward from Friday. Trace the single-day navigation and the date text update, then verify that both use the next enabled day and that the displayed date changes directly to Monday.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100