Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
locale.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2011 at 11:14 UTC
Updated:
8 Nov 2011 at 11:26 UTC
Jump to comment: Most recent
Comments
Comment #1
RicardoJBarrios commentedIf you set the display also to the "F Y" format you get a value like (it's set to July 2006):
Fri, 30 Jun 2006 +0200Fri, 30 Jun 2006 +020006 Fri, 30 Jun 2006 +0200Fri, 30 Jun 2006 +0200
Comment #2
brightboldI got this error with the custom format g:ma, which then resulted in the date displaying on the calendar month view like this:
PMThu, 03 Feb 2011 18:00 -0500Thu, 03 Feb 2011 18:00 -0500pm11 - PMThu, 03 Feb 2011 22:00 -0500Thu, 03 Feb 2011 22:00 -0500pm11 Thu, 03 Feb 2011 18:00 -0500Thu, 03 Feb 2011 18:00 -0500Comment #3
Alexander Matveev commentedsubscribe
Comment #4
joostvdl commentedSame error here. I created a format: j F Y - G:i
But it looks that it doesn't support a custom type. If I select one of the default (Long, Middle, Short) types there is no problem. If I select the Custom Type, it goes wrong.
Comment #5
zilverdistel commentedI have the same issue with a custom format "d.m".
At first I had a "500 Internal Server Error" on whichever page that tried to display a date field in this custom format (node page, a view).
After I enabled the "date_views" module, those pages started loading, but then I got the error described here:
Dates are now displayed as
I find it strange that the date_views module influences the rendering of a simple node page.
I'm running date-7.x-2.0-alpha1 and views-7.x-3.x-dev.
Comment #6
zilverdistel commentedI set up a local copy of the website I'm working on, I get slightly different messages now:
Comment #7
zilverdistel commentedThis has definitely something to do with localisation. The following solved my problem:
On "admin/config/regional/date-time/locale": click "edit" for all languages and just save the settings.
Shouldn't this be handled automatically when a new custom format has been created?
Comment #8
zilverdistel commentedI think this is not an issue with the Date module, so I'm handing this over to the Drupal core issue queue.
Also: changing the title since this seems to be the deeper cause of this issue.
Comment #9
metalrom commentedsubscribing
Comment #10
brightboldClearly my date format above was idiotic, and should have been g:ia, but I had exactly the same symptoms as zilverdistel in #5 either way. Happily, zilverdistel's solution in #8 solved the problem for me. Thanks a lot for this solution - the error had locked me out of the view with the 500 Internal Server Error so I was unable to roll back my changes.
Comment #11
xtiansimon commentedsubscribe
Comment #12
thomaslausz commentedComment #13
brightboldHey @thomasvum — did you know you don't need to +1 subscribe any more? Just scroll to the top of the issue and click the "Follow" button. Learn more in Stop Subscribing, Start Following.
Comment #14
thomaslausz commentedsorry about that....
how do I delete my subscribe?