Title: Hebrew Dates
Author: mikeage
Published: <strong>2010 年 6 月 27 日</strong>
Last modified: 2024 年 11 月 2 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/hebrewdates.svg)

# Hebrew Dates

 作者：[mikeage](https://profiles.wordpress.org/mikeage/)

[下载](https://downloads.wordpress.org/plugin/hebrewdates.2.3.1.zip)

 * [详情](https://cn.wordpress.org/plugins/hebrewdates/#description)
 * [评价](https://cn.wordpress.org/plugins/hebrewdates/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hebrewdates/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hebrewdates/#developers)

 [支持](https://wordpress.org/support/plugin/hebrewdates/)

## 描述

This plugin allows WordPress to easily show Hebrew dates instead of (or in addition
to) the standard Gregorian dates. No theme changes are required.

This plugin is based on the Hebrew Date plugin from KosherJava. All bugs are mine,
though.

This plugin is slightly similar to https://wordpress.org/extend/plugins/wordpress-
hebrew-date/, but much more robust. It’s also older, although not on wordpress.org

### Known Issues

 * The sunset routine cannot take into account DST, since the wordpress offset is
   GMT +/-, not a timezone (not to mention the computational nightmare that is the
   Israeli timezone).

## 屏幕截图

[⌊A sample of a post showing dates replaced.⌉⌊A sample of a post showing dates replaced
.⌉[

A sample of a post showing dates replaced.

[⌊The config screen.⌉⌊The config screen.⌉[

The config screen.

## 安装

Unzip the zip file, copy to /path/to/wordpress/wp-content/plugins/, activate, and
configure! Note that sunset correction is disabled by default, since there’s no 
meaningful default value for Latitude / Longitude

By default, the following APIs are intercepted: the_time() the_date() get_the_time()
get_the_date() get_comment_time() get_comment_date()

## 常见问题

### Why?

Because.

## 评价

![](https://secure.gravatar.com/avatar/a8e9070585f1744018373db4c88af2ffeea2cd1e932c3dfdfde0b5eb1969c015?
s=60&d=retro&r=g)

### 󠀁[same issues –](https://wordpress.org/support/topic/same-issues/)󠁿

 [liongabriel](https://profiles.wordpress.org/liongabriel/) 2017 年 2 月 7 日

why not share the alternative here?

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/hebrewdates/reviews/)

## 贡献者及开发者

「Hebrew Dates」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ mikeage ](https://profiles.wordpress.org/mikeage/)
 *   [ KosherJava ](https://profiles.wordpress.org/kosherjava/)

[帮助将「Hebrew Dates」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hebrewdates)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hebrewdates/)，查看[SVN仓库](https://plugins.svn.wordpress.org/hebrewdates/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/hebrewdates/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hebrewdates/)。

## 更新日志

#### 2.3.1

 * Fix escaping issue in the admin screen

#### 2.3.0

 * Fix CSRF vulnerability.
 * Fix Plugin Check warnings (there have been a lot in the past ten years!)

#### 2.1.1

 * Integration with github. No functional changes.

#### 2.1.0

 * Support WP 3.2’s TwentyEleven with its HTML comment escaping

#### 2.0.3

 * Fix for anyone using PHP < 5.3.0 and a date containing a suffix (3rd, 5th, etc
   instead of 3, 5).

#### 2.0.2

 * Remove superflous single quote after the year
 * Switch ‘ and " to &1523; and ״ [proper unicode]. Thanks to KosherJava for the
   tip

#### 2.0.1

 * Fixed a bug for English (both Ashkenazim and Sefardic) transliterations not appearing(
   introduced in 2.0.0)
 * Added the option to remove the quotes from the Hebrew dates (requested by http://
   www.amotherinisrael.com/)

#### 2.0.0

 * Complete rewrite of the date identification; much more reliable
 * Code actually looks slightly sane now
 * New `get_the_hebrew_date()` and `the_hebrew_date()` APIs, which can be used in
   any theme. The interception of the other calls, while much more robust now, still
   is not the ideal.

#### 1.0.4

 * Support for both `the_date()` and `get_the_date()` (required for WordPress 3.0’
   s 2010 theme)

#### 1.0.3

 * Enhanced currentHebrewDate API (see the help on the config screen, or the discussion
   proposals here)
 * Start of some decent documentation
 * Proper URL

#### 1.0.2

 * Code no longer breaks things! [fix for the_time()]

#### 1.0.1

 * Don’t ask where 1.0.0 is. Just don’t.
 * Database config (instead of coded in the file)
 * Configuration screen shows when an update was performed
 * Option of showing Hebrew (or transliterated) only, Gregorian – Hebrew, or Hebrew–
   Gregorian
 * Lots of code cleanup.
 * Easier to add languages (I’d like to add an academic spelling as well)
 * Support for full names (Marcheshvan, Menachem Av)
 * XHTML 1.1 compliant! (span rtl)
 * Hebrew (default) or Transliterated (Latin character set) characters
 * Transliteration according Ashkenazi (default) or Sefardi pronunciation
 * Sunset correction enabled or disabled (default) by Latitude / Longitude
 * Based on an idea I “borrowed” from Jacob Fresco, I’ve added the ability to insert
   the current Hebrew Date (with sunset correction!) anywhere in a theme. Simply
   add `<?php if (function_exists('hebrewDateCurrent')) { hebrewDateCurrent();} ?
   >` to a theme.

## 额外信息

 *  版本 **2.3.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/hebrewdates/)
 * 标签
 * [dates](https://cn.wordpress.org/plugins/tags/dates/)[formatting](https://cn.wordpress.org/plugins/tags/formatting/)
   [hebrew](https://cn.wordpress.org/plugins/tags/hebrew/)[jewish](https://cn.wordpress.org/plugins/tags/jewish/)
 *  [高级视图](https://cn.wordpress.org/plugins/hebrewdates/advanced/)

## 评级

 3.5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/hebrewdates/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/hebrewdates/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/hebrewdates/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/hebrewdates/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/hebrewdates/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hebrewdates/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/hebrewdates/reviews/)

## 贡献者

 *   [ mikeage ](https://profiles.wordpress.org/mikeage/)
 *   [ KosherJava ](https://profiles.wordpress.org/kosherjava/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hebrewdates/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://paypal.com/send/to/paypal@mikeage.net)