• Hi,
    First of all, I would like to thank you for your fantastic work on this countdown. While testing it, I discovered that I couldn’t use date with afternoon hours.
    When I typed in 20:00, it switched me back to 8 and there was a 12h gap in my countdown.
    I searched the code and I finally found a solution.
    In the uji-countdown-widget.php, I replace

    jQuery('.UJI_date').each(function() {
    	jQuery(this).datetimepicker({
    	timeFormat: 'hh:mm',
    	dateFormat: 'yy/mm/dd'
    	});
    });

    by

    jQuery('.UJI_date').each(function() {
    	jQuery(this).datetimepicker({
    	timeFormat: 'HH:mm',
    	dateFormat: 'yy/mm/dd'
    	});
    });

    And now it is working, I can select 20:00.
    I hope it will help
    Kind Regards
    Eric

    https://www.ads-software.com/plugins/uji-countdown/

  • The topic ‘Date picker – 20:00 not availale, can only select 8:00 – change described’ is closed to new replies.