Support » Plugin: Facebook Events Widget » 24 Hour Time Format

  • Hi,
    i want to display the events in 24 hour time format instead of 12 hour time format.

    In Facebook the events show in 24 hour format.
    In the wordpress settings the time is set to 24 hour.

    Still the plugin shows events in 12 hour format.

    How can i change that?

    Thanks,
    Martin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Roi Dayan

    (@roidayan)

    by default the plugin does use the format in wordpress settings. so not sure why it display you differently.

    you can check the code in create_event_div_block()
    $start_date = date_i18n(get_option(‘date_format’), $values[‘start_time’]);
    $start_time = date_i18n(get_option(‘time_format’), $values[‘start_time’]);

    getting date_format and time_format options and its the same for end_time.

    Hello, Sir, I am running a website on Time basis on Military Time, I want show 24 hour live clock on my website but after search many I not find any plugin or codes to show live 24 hour clock, Please tell if you know.
    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.