[wp-testers] Wrong date when importing from Movable Type 3.2..

Naudirz naudirz at gmail.com
Mon Jan 2 22:52:55 GMT 2006


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 <naudirz at gmail.com>:
>
> 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 <aaron at technosailor.com>:
> >
> >
> >
> > > > 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
> > wp-testers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-testers
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-testers/attachments/20060102/162472a0/attachment-0001.htm


More information about the wp-testers mailing list