Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have the Workflow module on a Drupal 7 site where the "medium" date format isn't configured to return the time, only the date.
This configuration results in the Workflow scheduler only reporting the current time as the date (on node/edit page for users who can schedule a state change).
I'll attach a patch in the first comment that updates the format_date() functions in workflow.module with a custom date format that always returns the date and time regardless of how the site's date formats are configured.
-mike
Comment | File | Size | Author |
---|---|---|---|
#1 | format_date-1802216-1.patch | 1.96 KB | ultimike |
Comments
Comment #1
ultimike...and here's the patch.
Thanks,
-mike
Comment #2
NancyDruThank you, Michael. I suspect the same issue could, conceivably, happen with the "long" format. Let's find a more correct way to do this.
Comment #3
NancyDruPlease try the -dev version that will roll out in 4 hours.
Comment #4
NancyDru