I've just noticed that not all parts of the event module conform to changes of date format as defined in Settings>Date Settings.

I am located in the UK, where the standard format for dates is dd/mm/yyyy (or variations, but crucially the day is shown before the month). I have this set correctly in the drupal core settings for date, but this is not being shown in some parts of the event.module.

The areas that I've discovered that do NOT conform are:

  • Upcoming Events Block
  • Table View in main calendar

To me this seems like a pretty crucial problem as it means anyone outside of the US is going to have confusing date displays for events. This is particularly bad in relation to dates like with single digit day and month conditions (eg. 6/5/2006).

Comments

solipsist’s picture

I agree, but what's worse is that the standard ISO format, that's yyyy-mm-dd, isn't well-supported since it is after all a global standard. We have been forced to modify the module to work with the local date display format (which is the ISO format).

killes@www.drop.org’s picture

please make a patch

gmak’s picture

Status: Active » Closed (fixed)

More digging has revealed that this problem is completely of my own making. There isn't a problem with the module (at least I doubt it).

The problem was that I'd overridden the theme output for the upcoming events block and set the date format incorrectly.

Sorry about the waste of time.