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
Next Post
Data Migration issues  11 Aug 2009
Prior Post
Monitoring by Ear  18 Jul 2009
Related Posts
Browsers and WSL  31 Mar 2024
Factory methods and functions  05 Mar 2023
Using Constructors  27 Feb 2023
An Inconvenient API  18 Feb 2023
Method Archetypes  11 Sep 2022
A bash puzzle, solved  02 Jul 2022
A bash puzzle  25 Jun 2022
Improve your troubleshooting by aggregating errors  11 Jun 2022
Improve your troubleshooting by wrapping errors  28 May 2022
Keep your promises  14 May 2022
July 2009