Forums

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

  1. angelazou
    Member
    Posted 5 months 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. angelazou
    Member
    Posted 5 months ago #

    Any thoughts?

  3. angelazou
    Member
    Posted 5 months 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

Reply

You must log in to post.

About this Plugin

About this Topic