WordPress.org

Ready to get started?Download WordPress

Forums

Hebrew Date
One way to solve localized gregorian dates problem (1 post)

  1. D
    Member
    Posted 3 years ago #

    If you want to use the hebrewdates plugin but your gregorian dates displayed with non-english letters that cause this plugin to not understand the dates.

    There are probably also other ways to solve that problem, but here is my solution:

    /* dberebi fix for unrecognized localized gregorian dates */
    add_action('init', 'delocalize_dates');
    function delocalize_dates() {
    global $wp_locale;
    $wp_locale->weekday = null;
    }

    This will disable the localization of dates.

    http://wordpress.org/extend/plugins/hebrewdates/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic