If I edit the exported file and remove the "FM and EM" time stamp i get it to import as it should

BUT i still dont get the comments, the import status says "1 comment" etc. imported and the comment is in the mysql database BUT it doesn´t show up in wordpress.

strange..

RGDS Phiberz

2006/1/2, Naudirz <[EMAIL PROTECTED]>:
More:
--------------------------------------------------------------
  • %x

    The language-aware standard date representation. For most languages, this is just the same as %B %d, %Y. Example: September 06, 2002.

  • %X

    The language-aware time representation. For most languages, this is just the same as %I:%M %p. Example: 04:31 PM.

---------------------------------------------------------------------------
/Phiberz



2006/1/2, Naudirz < [EMAIL PROTECTED]>:
Okay, i´ve checked it out abit more to:

<$MTEntryDate format="%X"$> think the error are here, FM and EM after my date stamp are like AM and PM in USA i live in Sweden

----------------------------------------------------------------
  • %X

    The language-aware time representation. For most languages, this is just the same as %I:%M %p. Example: 04:31 PM.

----------------------------------------------------------------

http://www.sixapart.com/movabletype/docs/3.2/c_date_formats/

" the language attribute can be used to override the weblog's preferred language setting in weekday names, month names, and AM/PM codes"



BUT can this be fixed in the Wordpress import function, can´t wordpress just ignore the AM PM stamp or in my case FM and EM??

//Phiberz



2006/1/2, Aaron Brazell <[EMAIL PROTECTED]>:


> > The date in the exported files is correct ex. "DATE: 03/22/2005 05:03:42
> > FM"
>
> Forgive me, but what timezone is FM? I don't see it listed here
> http://www.timeanddate.com/library/abbreviations/timezones/ and I'm sure
> the importer is throwing up because of line 262 of the importer...
>
> $post_modified = strtotime($value);
>
> If strtotime() can't find the timezone it doesn't know how to interpret
> that date string... And if MT is using their own definitions of timezones,
> then 1) they are being tremendously unhelpful and 2) we should know what
> those definitions are...

Now I'm confused. I did a little more research on the MT export format and an example is provided here ( http://lemonodor.com/archives/000730.html).

Which begs the question, is that FM a typo on your part or did MT really export an FM? It should be AM or PM...

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers



_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to