I have created a custom block using the Last Updated Content module. The block is configured to display the last updated date of a node using a custom date format ("Y-m-d H:i:s"). However, the block is displaying the date in a different format ("Tue, 01/02/2024 - 13:00").

Steps to Reproduce:

  • Install and enable the Last Updated Content module.
  • Create a block using the Last Updated Content block type.
  • Configure the block to use a custom date format (e.g., "Y-m-d H:i:s").
  • Add the block to a region on a page.

I have included relevant screenshots to provide visual context for the issue.

Comments

adityarawat_ln created an issue. See original summary.

adityarawat_ln’s picture

Issue summary: View changes
adityarawat_ln’s picture

StatusFileSize
new603 bytes

Here is the patch for issue,After applying patch please make sure to flush caches

Thank you.

keshavv’s picture

Status: Active » Needs review
adityarawat_ln’s picture

Hi everyone,

@Ridha Rahmi could you please take a moment to review and test the patch in the context of the module? Your verification is crucial to officially closing this issue.

Thank you

ridha rahmi’s picture

Hi,
Thank you @adityarawat_ln

ridha rahmi’s picture

Status: Needs review » Fixed
ridha rahmi’s picture

Status: Fixed » Closed (fixed)
ridha rahmi’s picture

Status: Closed (fixed) » Fixed
ridha rahmi’s picture

Category: Task » Bug report
Status: Fixed » Reviewed & tested by the community
adityarawat_ln’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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