Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author janizde

    (@janizde)

    Hi @mksnmks,
    the plugin takes the date and time format settings from your WordPress settings in Settings > General. Furthermore you can specify custom date and time formats per widget / shortcode e.g. time_format in the Overview widget (This is under “More Options” in the widget edit screen). https://github.com/janizde/WP-Opening-Hours#overview-widget

    Thread Starter MKSnMKS

    (@mksnmks)

    Hi,
    Thank you for the information on customisations for date and time formats.
    I had happened to have looked at that already.

    But the “format” of the date and time, does not effect whether it is correct or not.
    At least, it “should not” effect the date and time.
    But maybe it does, maybe that could be where the problem is.
    Maybe there are some date/time formats or combinations of them, that cause miscalculations.
    What date and time formats have you found it to work with?
    I can try those, and let you know if it works on my system.

    Thanks

    Plugin Author janizde

    (@janizde)

    Hello,
    the date and time formats have nothing to do with the calculations. Internally everything is handled by PHP DateTime objects, which are then formatted in the shortcodes and widgets. However the formatted dates and times are never used for calculation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘am/pm 24hr – how to change’ is closed to new replies.