The MU forums have moved to WordPress.org

REQUEST: WPMU date format (6 posts)

  1. Meister77
    Member
    Posted 17 years ago #

    Somewhere the date format not use the main settings, and this is in English format.
    In Hungary we're using Year. month. day. format.

  2. Misera
    Member
    Posted 17 years ago #

    Go into your admin panel.. Options > General

    On the bottom half it has a "Date and Time" area where you can set the default date and time format.

    Change the date format to: Y. F. j
    or however you want it.. Y = year, F = month, j= date

  3. drmike
    Member
    Posted 17 years ago #

    Also remember that some themes override these settings.

  4. Meister77
    Member
    Posted 17 years ago #

    Ok, I use the original temlates, and the archives links in months year format.
    To work the Hungarian format, I must change some source code:
    from this: $text = sprintf('%s %d', $wp_locale->get_month($arcresult->month), $arcresult->year);
    to this: $text = sprintf('%d. %s', $arcresult->year, $wp_locale->get_month($arcresult->month,2));

    AND
    from this: $text = sprintf('%s %d', $wp_locale->get_month($arcresult->month), $arcresult->year);
    to this: $text = sprintf('%d. %s', $arcresult->year, $wp_locale->get_month($arcresult->month,2));

    in general-template.php

  5. Meister77
    Member
    Posted 17 years ago #

    ps.: I use WPMU on Windows2003 server:
    http://freeblog.as.hu
    But I think this is not a windows specific problem, and same problem exist in the non-MU WP.

  6. Meister77
    Member
    Posted 17 years ago #

    So, is there any solution?

About this Topic

  • Started 17 years ago by Meister77
  • Latest reply from Meister77