Services Plugins FAQs

Have a problem with Time Dropper

Good day! I have a problem with time in Time Dropper.
For example: I save ticket with current time and date. Well, I want to edit time and date and I have a problem with time. I click “Use 24” but I see 00pm or 12am, or 3pm, but I want to see 23, 21, 15. Okay, I unused 24 and I see 23, 21, 15, 16… :blush:

Oh It’s one wrong, but I have a problem number two and this more important thing!

If I change 12 hours I see 00 in my Database and I see 00 in my App. So, If I change 00 hours I see 00 in my Database (and my App, eh…).

I think this is bug and I think you need see in this code:

            var vals = []
            // if (!dt) {
            //     dt = new Date();
            // }
            var time = timeStr.match(/(\d+)(?::(\d\d))?\s*(p?)/i);
            if (!time) {
                return null;
            }
            var hours = parseInt(time[1], 10);
            if (hours == 12 && !time[3]) {
                hours = 0;
            } else {
                hours += (hours < 12 && time[3]) ? 12 : 0;
            }

Please, help me.

Have a nice day!

Hello @hexmayer.studio, thank you for your message.

Thanks for sharing with us your use case. I will check it with our Dev team and get back to you with an update soon.

Thank you for your understanding.

Have a good rest of the day!

1 Like

Hey @hexmayer.studio, hope this message finds you well.

I would like to let you know that our Dev team managed to fix the issue with the 24hr clock. At the moment when the field is checked it will display the time in 24 hours format. Besides that the team fixed the returned time value and added two new events that you can use to store the data in your app (‘AirTime Dropper a time is changed’ and ‘AirDate Dropper a time is changed’).

To see all these changes inside your app, please make sure to update the app to the latest version - 1.13.0

Hope this works for you.
Let me know if there is anything else we can assist you with. :blush:

1 Like

Thanks a lot! :sunny:

It’s work! Have a nice day :slight_smile:

2 Likes

Always welcome! Glad it worked for you!

Have a nice day, too :blush: