WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Widget
[resolved] Add 'Day' to date in the sidebar (2 posts)

  1. scoophk
    Member
    Posted 1 year ago #

    Hi,

    Can the widget (which works beautifully BTW!) be set up so that the day is included in the sidebar events shown.

    Currently: Jan 18
    Would like: Friday, Jan 18 / or Fri Jan 18

    Site is not live yet and is password protected - should be live and viewable sometime next week....

    Thank you!

    http://wordpress.org/extend/plugins/google-calendar-widget/

  2. scoophk
    Member
    Posted 1 year ago #

    Found it using your FAQ!
    Changed the startJSDate.toString in the 'Edit Plugins' page in the file: google-calendar-widget/ko-calendar.js.
    from:
    dateString = startJSDate.toString('MMM dd');
    to
    dateString = startJSDate.toString('dddd, MMM dd');

    This gave me: Friday, Jan 18
    If I had wanted: Fri, Jan 18 could have used:
    dateString = startJSDate.toString('ddd, MMM dd');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic