Errors in duration calculation from Outlook integration


I have succesfully integrated Outlook calendar into Monday so that when I get invited to a meeting it automatically creates a task in monday.
The start time and end time are properly imported into the relevant columns except that monday is using AM/PM time when my Outlook is in 24:00 as I work with teams in three continents.
What is weird is that the formula column that calculates the differnece between End and Start (in that order) to return the duration of the task is returning weird and inconsistant results. Some times the result is correct, sometimes it is negative and sometimes it is 0 or nothing to do with the value(See the screenshot below).



Thanks for your help

I found the solution here

HOURS_DIFF glitch - Platform discussions - monday Community Forum