Time is also showing in date only field while exporting into calendar

Created on 1 July 2024, 3 months ago
Updated 31 August 2024, 27 days ago

Problem/Motivation

Drupal 10.2.7
When I give only a date value without the time.

On calendar feed import it is showing the date with time but needs to show only the date. Date is also one day mismatch with selected date

I have tried to change the format on view but it isn't working.

Is there any other way to show only the date in the feed?

Steps to reproduce

1. Create a content type
2. Add a date range field(Date Only)
3. Create a view and feed
4. Add that date range field, 1. value, and 2. end_value
5. Give a path feed

🐛 Bug report
Status

Fixed

Version

4.0

Component

iCal Import

Created by

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.

  • 🇮🇳India jagadeesh_innoppl

    I am too facing the same issue

    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//http://localhost/sbma-d10-development/web//NONSGML iCalcreator 2.41.56//
    CALSCALE:GREGORIAN
    METHOD:PUBLISH
    UID:62313564-6238-4636-b666-643339316536
    X-WR-RELCALID:ebad248b-445a-4fea-8903-a59fa0bad700
    X-WR-TIMEZONE:America/Los_Angeles
    X-WR-CALNAME:Exhibitions Detail Page
    BEGIN:VTIMEZONE
    TZID:America/Los_Angeles
    TZUNTIL:20251102T090000
    BEGIN:STANDARD
    TZNAME:PST
    DTSTART:20231105T020000
    TZOFFSETFROM:-0700
    TZOFFSETTO:-0800
    RDATE:20241103T020000
    END:STANDARD
    BEGIN:DAYLIGHT
    TZNAME:PDT
    DTSTART:20240310T020000
    TZOFFSETFROM:-0800
    TZOFFSETTO:-0700
    RDATE:20250309T020000
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    UID:7bf181bf-7a58-40c6-a0b8-f5ff7d5b4b74
    DTSTAMP:20240702T144723Z
    CLASS:PUBLIC
    CREATED:20220929T220941Z
    DESCRIPTION:The refreshed and newly configured Sterling Morton\, Campbell\,
    and Gould Galleries next to Ludington Court showcase a selection of works
    from China\, Japan\, and Korea\, drawn from the Museum’s extensive perman
    ent Asian Art collection and organized by SBMA Elizabeth Atkins Curator of
    Asian Art Susan Tai.
    DTSTART;TZID=America/Los_Angeles:20240313T170000
    DTEND;TZID=America/Los_Angeles:20260906T170000
    LAST-MODIFIED:20240314T213556Z
    SEQUENCE:1
    SUMMARY:Highlights of East Asian Art
    TRANSP:OPAQUE
    X-ALT-DESC;FMTTYPE=TEXT/HTML:

    The refreshed and newly configured Sterling M
    orton\, Campbell\, and Gould Galleries next to Ludington Court showcase a
    selection of works from China\, Japan\, and Korea\, drawn from the Museum’
    s extensive permanent Asian Art collection and organized by SBMA Elizabeth
    Atkins Curator of Asian Art Susan Tai.

    END:VEVENT
    END:VCALENDAR

    DTSTART;TZID=America/Los_Angeles:20240313T170000
    DTEND;TZID=America/Los_Angeles:20260906T170000

    Need to remove time for this component

    Is there any solution to resolve this?

    • lazzyvn committed ae64dea6 on 4.x
      Issue #3458229: Time is also showing in date only field while exporting...
  • Status changed to Fixed about 1 month ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024