BUG - adding minutes to datetime field

Hi Everyone,

Wappler Version: 3.0.3
Operating System: Windows 10

Expected behavior

What do you think should happen?

Tried to add minutes to a datetime field but its not adding them correctly every time

Actual behavior

What actually happens?

image

The left column is the datetime field and I added + no of mins that should be added, this is how I have it in wappler:

Appointmentdate.toISODate()+'-'+Appointmenttime.toISOTime()+' -- '+' + '+Duration+'mins

The right column has the result which is only right when the hour has no minutes: Appointmenttime.addMinutes(Duration).formatDate('yyyy-MM-dd HH:mm:ss')

I think this is most probably a bug, as I have tried many ways around to fix it but couldn’t manage, can anybody confirm if its happening on your projects as well?

Regards,

Community Page
Last updated: