Forums

the_time() Shows German Output (3 posts)

  1. saphod
    Member
    Posted 1 year ago #

    Hi,

    I have currently copied my current WP to a local XAMPP installation and upgraded it to 2.5 to test my theme and plugins. After finding out that mod_rewrite has to be initialized by manually changing XAMPP's httpd-file, even permalinks work well now.

    But using "the_time()" produces a funny result.
    I use the_time('F jS, Y @ H:i:s O (T)') to show when a post was written. Online, this leads to something like this:
    "Wednesday, April 16th @ 22:35 +0200 (CEST)"

    With my local XAMPP under XP (German), it says the German "(Westeuropäische Sommerzeit)" instead of the English "(CEST)"... and the "ä" is transformed into a diamond with a question mark.

    Must have to do with some kind of localization... I do not want to show the German text but the English one.

    Does anyone know how to get back the English text?

  2. saphod
    Member
    Posted 1 year ago #

    Anyone, please? Maybe you can tell me another php-resource to get this solved... thanks!

  3. saphod
    Member
    Posted 1 year ago #

    Also posted this one to
    http://www.phpfreaks.com/forums/index.php/topic,193539.0.html
    if anyone is interested.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags