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

CommentFileSizeAuthor
#1 format_date-1802216-1.patch1.96 KBultimike
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ultimike’s picture

FileSize
1.96 KB

...and here's the patch.

Thanks,
-mike

NancyDru’s picture

Status: Active » Needs work

Thank you, Michael. I suspect the same issue could, conceivably, happen with the "long" format. Let's find a more correct way to do this.

NancyDru’s picture

Please try the -dev version that will roll out in 4 hours.

NancyDru’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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