Between versions 1.8 and 1.9 a problem developed in my blog with the display of an item's created date and time using the %when% macro, and in some other instances. After spending some time with the debugger, it looks to me like the problem is a DateTime formatting issue that was introduced with revision 454 in August 2006.
From what I can tell, the "U" DateTime format specifier is being used to convert and format times that are already converted to UTC. In effect this doubles the offset adjustment in the %when% macro, and also appears to result in problems with the %now% macro and comment post times when "Always Use UTC" is selected in the configuration.
I've attached a patch file that shows the changes I've made in my own compilation to address these issues. Since I'm new to the dasBlog code, these changes definitely need review!
These changes have been implemented in my blog: http://www.photographyontherun.com/.
Log in to post a comment.