CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Date formatting problem, like "September 20th, 9"
Pages: [1]

Author Topic: Date formatting problem, like "September 20th, 9"  (Read 442 times)

flug

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 12
Date formatting problem, like "September 20th, 9"
September 19, 2012, 09:08:30 am
In CiviCRM 4.2 I'm seeing some dates misformatted, like "September 20th, 9" rather than "September 20th, 2012".

Anyone else seen this?

The particular example above was generated in an off-line membership sign-up email receipt message that uses this but of Smarty code:

Code: [Select]
{$receive_date|truncate:10:''|crmDate}
However I think I have seen this same error in a few other places here and there, so I'm not sure how far upstream the problem might be.

FYI this is in CiviCRM 4.2 under Drupal 6.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Date formatting problem, like "September 20th, 9"

This forum was archived on 2017-11-26.