Problem/Motivation

I wanted to experiment with this module to display Log entities (provided by this module: https://www.drupal.org/project/log). Logs have a timestamp base field, but that doesn't appear to be an acceptable field type for this module to use.

https://git.drupalcode.org/project/log/-/blob/e238d5e1e1875351580d655289...

Notably, Logs also have a created and changed field, and those DO work... so I dug into the calendar_view module and found this line:

https://git.drupalcode.org/project/calendar_view/-/blob/0c85f6ee7e665010...

If I add timestamp to the array on that line, it works! :-D

Proposed resolution

Add timestamp as an allowed field type to this line:

Remaining tasks

Create a merge request.

User interface changes

None.

API changes

Allow timestamp fields to be used for events in the calendar.

Data model changes

None.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

m.stenta created an issue. See original summary.

m.stenta’s picture

Status: Active » Needs review

I opened a merge request for review. Thank you for considering! :-)

matthieuscarset’s picture

Status: Needs review » Fixed

Nice catch! Thank you for testing out this module.

Please let me know how everything goes in Slack #calendar-view or in comments here.

Marking this issue as fixed. PR merged.

m.stenta’s picture

Thank you so much @matthieuscarset!!

Do you think a 2.0.10 release will be tagged soon? I am looking forward! :-)

matthieuscarset’s picture

2.0.10 is out now.

Sorry for the delay.

m.stenta’s picture

Thank you @matthieuscarset!!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.