July 13, 2004

Bug Fix For Those Exporting Entries From MT 3.0 to MT 2.64

I finally got feedback on the import issue I was having importing entries from Movable Type 3.0 to Movable Type 2.64. Here is a link and here is the text for quick reference:

At line 432 in lib/MT/ImportExport.pm:
## Make sure dates are in English. $blog->language('english');

I believe this an incorrect specification of the language, which is used to figure out how AM/PM needs to be output. Since 'english' isn't a valid language code, MT outputs nothing for the %p (AM/PM) format code.

I've tested the following change on my weblog, and it now includes the AM/PM in an export file:

## Make sure dates are in English. $blog->language('en');

Hope this helps!

Posted by Nick Queen at July 13, 2004 07:04 PM
Comments
Live Comment Preview
Post a comment









Remember personal info?