[Plugin: Hebrew Date] One way to solve localized gregorian dates problem
-
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.
- The topic ‘[Plugin: Hebrew Date] One way to solve localized gregorian dates problem’ is closed to new replies.