pyblosxom/pyblosxom — pull request #11 by fbennett (2012-07-06 07:40:14+00:00)
Title: Prevent registration of date key in entry metadata cache

This is a minimal patch to address a small glitch encountered in a local plugin that uses a #date metadata label. The string value was registering in the entry metadata cache, and the cache value apparently takes precedence over the formatted value derived from mtime. The result was an unformatted dates in post output. With this patch, that does not happen.

Arguably all keys in set_time() that derive their values from the timetuple should be set to block in this way, but this seems the most likely to be used in metadata.