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.
To reproduce the problem:
- Log onto your site as user with administration rights.
Go to Administer Site Configuration Date and Time Formats
- Add a new format type
Go to Administer Site Building Views
- Edit your view of choice
- Select any date Field and drop down the list of available Formats
You’ll see that your new format isn’t listed.
Go to Administer Site Building Modules
- 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