Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Date selection from calendar issue

Hello there,

We selected the Date and Time Format to Advance in the System settings and the date format was selected like the UK date format. dd/MM/y

We have some custom forms contains Date and Time type fields. If we select a date from calendar the date shows incorrectly in the field. See the screenshot. It shows correctly on the ticket when it's opened

If we correct the date or manually put the date into the field on ticket shows the actual date of the creation of the ticket instead of the date was typed into the field.

It seems a bug. Have you got a solution?

Regards

amajer





Comments

  • Sorry I couldn't attached the screenshot. Basically the day duplicated. If I select 14th of February 2018 then in the field shows 1414/February/18

  • Yes, I have run into this bug before as I needed to use Advanced Time/Date formats also.


    There is this one also, although it is more for a client side display issue: https://github.com/osTicket/osTicket/pull/3623/

    The bug comes about from some of the default conventions not matching abbreviations that the systems understands. i.e using "y" for year instead of "yyyy".


    Perhaps if you set everything fully it might not need the PRs.

    Here are the settings which I use:

    Time Format: hh:mm aa
    Date Format: dd/MM/yyyy
    Date and Time Format: dd/MM/yyyy hh:mm aa
    Day, Date and Time Format: EEEE, MMMM dd yyyy hh:mm aa


Sign In or Register to comment.