Here’s a oddity that caused me a bit of grief this weekend - blogged in the hope that search engine goodness will save someone else some hair pulling.

New date formats configured through the Date module aren’t made available through Views immediately.

To reproduce the problem:

  1. Log onto your site as user with administration rights.
  2. Go to Administer Site Configuration Date and Time Formats
  3. Add a new format type
  4. Go to Administer Site Building Views
  5. Edit your view of choice
  6. Select any date Field and drop down the list of available Formats

You’ll see that your new format isn’t listed.


  1. Go to Administer Site Building Modules
  2. Press Save (no changes are necessary)

Now, you’ll find that the new format is available.

It seems that either Date isn’t sending the right notification to Views that a new format is available, or Views is caching the list of available formats too aggressively.


  • Drupal 6
  • Date, DateAPI: 6.x-2.2
  • Views, Views UI: 6.x-2.5


blog comments powered by Disqus