Mobile mode uses incorrect date as default start date

Created on 1 August 2025, 16 days ago

Problem/Motivation

On a mobile phone [cellphone]: when the Calendar view is FIRST opened up, it uses the wrong default start date.
e.g. shows today's date [1st August] as 2nd April.
This occurs only when the browser is using the Mobile view (not Desktop view)
This is repeatable and uses the same incorrect start date each time.

Month, Day, Week views work fine when moving between dates.
The Today button will return to the correct date.

Happens on two mobile phones (Mozilla & Chrome).
Have refreshed browser cache, Drupal cache, etc.

Steps to reproduce

Display "Default mobile view" in Settings is set to Week.
"Default date source" in Page: Style options is set to "Current date".
Calendar view is opened up on a Mobile phone.
Displays today's date [1st August] incorrectly: 2nd April.

NB The Today button works correctly once you have switched into a different display option on the view: week, month, etc.
e.g. Switch away to another month using the arrows.
Selecting Today button will return to the correct date.
Refresh the browser tab and it reverts to the incorrect date as the current date.

NB default start date is correct when browser is using Desktop mode:
Switch browser to Desktop mode
Switch the browser setting back to Mobile mode (i.e. unclick Desktop) then it reverts to the wrong date again: 2nd April
Problem is only repeatable in different browser apps/phones using Mobile as the display option.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

5.2

Component

Code

Created by

🇦🇺Australia asdinnie

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

Comments & Activities

  • Issue created by @asdinnie
  • 🇦🇺Australia mingsong 🇦🇺

    There are some alternatives to this module, for example the Fullcalendar module .

  • 🇦🇺Australia asdinnie

    Thanks MingSong.

    I'll have a look at Full Calendar.
    I initially chose Fullcalendar View (FCV) as it had more users!
    I trust that Full Calendar uses the same structures so that the conversion to it from FCV is easy(ish).

    Best wishes,

    Andrew

  • 🇦🇺Australia mingsong 🇦🇺

    Hi @Andrew,

    Thanks for your trust.

    This module is used by more websites because it was the first module that integrated the FullCalendar.js with Drupal 8 in 2018.

    These days, there are many options.

    What you need to do is to migrate or update the configurations of your view, or simply create a new view with the other module. It shouldn't take too long.

  • 🇦🇺Australia asdinnie

    Thanks again for your wisdom and help.

    I'll have a go in a few days.
    Other deadlines are making themselves felt...

    Take care.

Production build 0.71.5 2024