Improve performance in _fullcalendar_date_all_day_field()

Created on 14 May 2019, almost 6 years ago
Updated 28 March 2025, 11 days ago

_fullcalendar_date_all_day_field() is a wrapper around the deprecated date_field_all_day() and the current date_all_day_field(). It prefers the old function. However, it would be better to try the newer function first as it contains a faster code path to determine whether a field supports all-day events. In my case, I was using fullcalendar on a field that doesn't support all-day events anyway, and date_all_day_field() is much faster here.

πŸ“Œ Task
Status

RTBC

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Jorrit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024