Title: jClocksGMT World Clocks
Author: kingkode
Published: <strong>2016 年 4 月 27 日</strong>
Last modified: 2016 年 5 月 20 日

---

搜索插件

![](https://ps.w.org/jclocksgmt-wp/assets/banner-772x250.png?rev=1405720)

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

![](https://ps.w.org/jclocksgmt-wp/assets/icon-256x256.png?rev=1405720)

# jClocksGMT World Clocks

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

[下载](https://downloads.wordpress.org/plugin/jclocksgmt-wp.zip)

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

 [支持](https://wordpress.org/support/plugin/jclocksgmt-wp/)

## 描述

jClocksGMT is a jQuery analog and digital world clocks plugin based on GMT offsets.

Now supporting automatic daylight saving time conversions for affected timezones.
Requires jQuery Rotate plugin.

    ```
    [jclocksgmt]
    ```

This shortcode will display the default clock for Greenwich, England

Additional attributes:

 * title
    - Usage `[jclocksgmt title='Houston, TX, USA']` Title of location
 * offset
    - Usage `[jclocksgmt offset='-6']` Set Standard GMT offset
 * dst
    - Usage `[jclocksgmt dst='true]` set FALSE if location does not need to observe
      dst
 * digital
    - Usage `[jclocksgmt digital=true]` Display digital clock
 * analog
    - Usage `[jclocksgmt analog=true]` Display analog clock
 * timeformat
    - Usage `[jclocksgmt timeformat='hh:mm A']` Time format
 * date
    - Usage `[jclocksgmt date=false]` Display date
 * dateformat
    - Usage `[jclocksgmt dateformat='MM/DD/YYYY']` Date format
 * skin
    - Usage `[jclocksgmt skin=1]` Set 1 of 5 clock themes.

A basic shortcode for a custom location would look like this:
 [jclocksgmt title
=’Houston, TX, USA’ offset=’-6′]

See more documentation in FAQ section.

## 屏幕截图

 * [[
 * Example of Clocks
 * [[
 * Promotional Image

## 安装

 1. Upload the `jclocksgmt-wp` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Activate the included widgets for display in your theme or use the following shortcodes:
 4. Put the shortcode `[jclocksgmt]` on any page to display the clock.

See more documentation in FAQ section.

## 常见问题

  What are shortcodes?

A shortcode is a WordPress-specific code that lets you do nifty things with very
little effort. Shortcodes can embed files or create objects that would normally 
require lots of complicated, ugly code in just one line. Shortcode = shortcut. To
use a shortcode, simple enter it on the page or post in your WordPress blog as described
below and it will be replaced on the live page with the additional functionality.

  What shortcodes does jClocksGMT-WP use?

[jclocksgmt]
 This shortcode will display the default clock for Greenwich, England

Additional attributes:

 * title
    - Usage `[jclocksgmt title='Houston, TX, USA']` Title of location
 * offset
    - Usage `[jclocksgmt offset='-6']` Set Standard GMT offset
 * dst
    - Usage `[jclocksgmt dst='true]` set FALSE if location does not need to observe
      dst
 * digital
    - Usage `[jclocksgmt digital=true]` Display digital clock
 * analog
    - Usage `[jclocksgmt analog=true]` Display analog clock
 * timeformat
    - Usage `[jclocksgmt timeformat='hh:mm A']` Time format
 * date
    - Usage `[jclocksgmt date=false]` Display date
 * dateformat
    - Usage `[jclocksgmt dateformat='MM/DD/YYYY']` Date format
 * skin
    - Usage `[jclocksgmt skin=1]` Set 1 of 5 clock themes.

A basic shortcode for a custom location would look like this:
 [jclocksgmt title
=’Houston, TX, USA’ offset=’-6′]

  What are GMT offsets?

GMT offsets are the hour differences from one location compared to Greenwich Mean
Time in Greenwich, London.

Common offsets by time zone:
 (only use the number after GMT: GMT-2 = offset: ‘-
2’ Daylight Saving Time converted automatically)

 * `GMT-12` | Eniwetok
 * `GMT-11` | Samoa
 * `GMT-10` | Hawaii
 * `GMT-9` | Alaska
 * `GMT-8` | PST, Pacific US
 * `GMT-7` | MST, Mountain US
 * `GMT-6` | CST, Central US
 * `GMT-5` | EST, Eastern US
 * `GMT-4` | Atlantic, Canada
 * `GMT-3` | Brazilia, Buenos Aries
 * `GMT-2` | Mid-Atlantic
 * `GMT-1` | Cape Verdes
 * `GMT 0` | Greenwich Mean Time
 * `GMT+1` | Berlin, Rome
 * `GMT+2` | Israel, Cairo
 * `GMT+3` | Moscow, Kuwait
 * `GMT+7` | Abu Dhabi, Muscat
 * `GMT+5` | Islamabad, Karachi
 * `GMT+6` | Almaty, Dhaka
 * `GMT+7` | Bangkok, Jakarta
 * `GMT+8` | Hong Kong, Beijing
 * `GMT+9` | Tokyo, Osaka
 * `GMT+10` | Sydney, Melbourne, Guam
 * `GMT+11` | Magadan, Soloman Is.
 * `GMT+12` | Fiji, Wellington, Auckland

  What are the rules for formatting date and time?  Time Formatting:

FORMAT| OUTPUT | MEANING

 * `HH` | `19` | 24-hour format of hour with leading zero (two digits long).
 * `hh` | `07` | 12-hour format of hour with leading zero (two digits long).
 * `H` | `19` | 24-hour format of hour without leading zeros.
 * `h` | `7` | 12-hour format of hour without leading zeros.
 * `mm` | `01` | Minutes with the leading zero (two digits long).
 * `m` | `1` | Minutes without the leading zero.
 * `ss` | `08` | Seconds with the leading zero (two digits long).
 * `s` | `8` | Seconds without the leading zero.
 * `a` | `pm` | Lowercase am or pm.
 * `A` | `PM` | Uppercase am or pm.
 * `SSS` | `095` | Milliseconds with leading zeros (three digits long).
 * `S` | `95` | Milliseconds without leading zeros.

  Date Formatting:

FORMAT| OUTPUT | MEANING

 * `YYYY` | `2016` | Four-digit representation of the year.
 * `YY` | `16` | Two-digit representation of the year.
 * `MMMM` | `April` | Full textual representation of the month.
 * `MMM` | `Apr` | Three letter representation of the month.
 * `MM` | `04` | Month with the leading zero (two digits long).
 * `M` | `4` | Month without the leading zero.
 * `DDDD` | `Friday` | Full textual representation of the day of the week.
 * `DDD` | `Fri` | Three letter representation of the day of the week.
 * `DD` | `01` | Day of the month with leading zero (two digits long).
 * `D` | `1` | Day of the month without leading zero.

## 评价

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

### 󠀁[So nice](https://wordpress.org/support/topic/so-nice-34/)󠁿

 [Mohammad Amin](https://profiles.wordpress.org/mohammadamindeldari/) 2019 年 10
月 22 日

thanks, very nice

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

### 󠀁[80](https://wordpress.org/support/topic/80-93/)󠁿

 [hagacayak](https://profiles.wordpress.org/hagacayak/) 2018 年 11 月 8 日

Arkadaşlar çalışıyor kısa kodları kullanmayı biliyorsanız rahatlıkla kullanabilirsiniz.
Daha güzel olabilir lakin işinizi rahat rahat görür.

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

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-2449/)󠁿

 [kyajfx](https://profiles.wordpress.org/kyajfx/) 2018 年 2 月 17 日

add some simple example of shortcode… but I have tried all possible variations it
is not working

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/jclocksgmt-wp/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ kingkode ](https://profiles.wordpress.org/kingkode/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.2

 * Compatible with WordPress 4.5.2

#### 1.0.1

 * Fixed image path error

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**10 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/jclocksgmt-wp/)
 * 标签
 * [clock](https://cn.wordpress.org/plugins/tags/clock/)[time](https://cn.wordpress.org/plugins/tags/time/)
   [timezone](https://cn.wordpress.org/plugins/tags/timezone/)[world clock](https://cn.wordpress.org/plugins/tags/world-clock/)
 *  [高级视图](https://cn.wordpress.org/plugins/jclocksgmt-wp/advanced/)

## 评级

 3.7 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ kingkode ](https://profiles.wordpress.org/kingkode/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://kingkode.com/donate/)