• Resolved wpnirmal10

    (@wpnirmal10)


    Hi,
    The time picker has an issue in time alignment. The given times are showing properly in time picker but if you selected one time then after that it’s showing that time is the first time in time picker order format.

    I try to say an example :
    you have time slot 7:00 am to 6:00 pm .if you select time 9:00 am from time picker after that time picker show timing like (9:00 am, 10:00 am, 11:00 am,12:00 am, 1:00 am )

    Normally It needs to show time from 7:00 Am, 8:00 am But now the time alignment is conflict.

    Normal jquery time picker works proper time alignment.

    can you help with is issue, I am waiting for your reply

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

    (@rajeshsingh520)

    If you have selected 9 AM it is showing 10 AM 11 AM after that which is correct

    and the time 8 AM, 7 AM are moved to the bottom of the time picker

    We can’t change this behavior we are using this https://github.com/wvega/timepicker library for time picker

    Thread Starter wpnirmal10

    (@wpnirmal10)

    HI rajeshsingh520,

    I found a solution to fix this problem:)
    use (dynamic: false) Condition inside the time picker.

    Reference link: https://timepicker.co/

    Example:

    $(‘.timepicker’).timepicker({
    timeFormat: ‘h:mm p’,
    interval: 60,
    minTime: ’10’,
    maxTime: ‘6:00pm’,
    dynamic: false,
    scrollbar: true
    });

    I hope it will helpful for others.

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Thanks, I have added this in a new release today 1.4.4

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Time picker time alighnment issue’ is closed to new replies.