0

I encountered a very strange problem when using the Any+Time DatePicker library: the days of the month are not true. The screenshot below shows the November:

November

As you can see, 5 November is a Thursday, but 6 November is a Saturday. The same thing happens with other months:

December

JS code snippet:

<script>
    $("#anytime-month-numeric-task-taskDate").AnyTime_picker({
        format: "%d.%m.%Z %H:%i",
        beforeShow: function () {
            setTimeout(function () {
                $('.ui-datepicker').css('z-index', 99999999999999);
            }, 0);
        }
    });
</script>

What could be the reason?

Thanks.

Mark Korzhov
  • 2,109
  • 11
  • 31
  • 63

1 Answers1

0

Without seeing the complete picture, this looks like you have some custom CSS that is impacting the styles (probably the width) of the "empty" cells in the first row of the table. Does the problem go away when you comment out your own stylesheets and only use anytime.css?

Andrew M. Andrews III
  • 1,989
  • 18
  • 23