WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Widget
German translation and time format (3 posts)

  1. Franz92
    Member
    Posted 1 year ago #

    Hi!
    Thanks for the plugin. I am using it here. I would like to translate the months to german and use a 24-hour timeformat. How can I do this?

    Thanks for your answer!

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

  2. Poco
    Member
    Plugin Author

    Posted 1 year ago #

    Take a look at the FAQ http://wordpress.org/plugins/google-calendar-widget/faq/

    You can replace the date.js file in the plugin with one in the package here here https://code.google.com/p/datejs/downloads/detail?name=Datejs-all-Alpha1.zip&can=2&q=.

    You can also change the time format by changing the following lines of code from the plugin

    startJSDate.toString("ddd, MMM d, yyyy h:mm tt")
    
    dateString = startJSDate.toString('MMM dd');

    using the formatting defined here https://code.google.com/p/datejs/wiki/FormatSpecifiers

  3. Franz92
    Member
    Posted 1 year ago #

    Argh, I am sorry, how could I not look there >.>

    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic