The formatting string for workflow-current-state-date-formatted is erroneous. It currently is 'M d, Y h:i:s', but should be either 'M d, Y H:i:s' (24h) or 'M d, Y h:i:s a' (12h).
The help string, elsewhere in the code, should also reflect that, and 'formated' should be 'formatted' in the same string.
Additionally, it shouldn't use date() at all, but rather format_date(theTime,'custom',theformatString), so that the output reflects the Drupal timezone selection for each user.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | workflow_490940_time.patch | 1.48 KB | hefox |
| #1 | workflow-490940.patch | 921 bytes | dawehner |
Comments
Comment #1
dawehnerEasy patch
Comment #2
Bastlynn commentedSince this request is over a year old, I'm going to assume a solution was found or you've moved on. If not, please get updated to the latest versions of all modules and make a patch for it against Drupal 7 and I'll be glad to take a look at it.
Comment #3
dawehnerWell i'm not really interested in these patches anymore, so there is no time to fix this issues.
If you want you can mark them as won't fix.
Comment #4
Bastlynn commentedJust getting a live response at all bumps it up in my queue here, since that let's me know that at least one person interested is at least still around to benefit. So thanks :)
I'm going to leave this issue open so I can remind myself to check it with the next releases.
Comment #5
hefox commentedUpdated d6 patch for another area that uses format_date. Looks like patch should apply to d7 other than spacing/line numbers/changes in format_date.
Need it to remove an error that php 5.3 throws about selecting timezone. Too annoying!
Comment #6
johnvComment #7
johnvITMT, this is fixed in the D7 version. Reflecting this in the title. Leaving this open for other D6-users.
Comment #8
johnvI wish there was a nicer way to clear the issue queue from 'D6-issues that are fixed in D7' then a "won't fix for D6."