WordPress.org

Ready to get started?Download WordPress

Forums

World Clock Widget
[resolved] Change WeekDay Name (3 posts)

  1. Angela
    Member
    Posted 2 years ago #

    Hi,

    I'm currently using your plugin to output current time and date in a Chinese format. I wish to use the name of the weekday (such as sunday) in the Chinese format. This means I have to somehow replace the original string (such as sunday) with a Chinese string (such as 星期天). How can I achieve this?

    Angela

    PS: in addition, does the plugin offer a shortcode I can use?

    http://wordpress.org/extend/plugins/world-clock-widget/

  2. Angela
    Member
    Posted 2 years ago #

    Any thoughts?

  3. Angela
    Member
    Posted 2 years ago #

    I found the solution, in case anyone else is wondering, the wordpress the_time function offers a parameter called 'l' (lowercase L) that offers weekday name in Chinese.

    Angela

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic