Hi all,
I seem to have a bit of a problem. In my table I have durations that are longer than 24hrs and they are not recognized as duration no matter the format.
Is it a bug ? Do you know a way to work around it ?
Hi all,
I seem to have a bit of a problem. In my table I have durations that are longer than 24hrs and they are not recognized as duration no matter the format.
Is it a bug ? Do you know a way to work around it ?
Hi @Sam_Dojtez and Welcome to the Community
!
How do you create those durations ? ![]()
Hi
Thank you !
I just type 30:48:00 and it works only when itâs something under 24hrs so for example when I type 14:12:00 it recognises it and put it as 14 hrs and 12 mins but not otherwise.
Hi again @Sam_Dojtez
!
I can reproduce your issue here and I think that Coda might not know how to handle the durations going over 1 day : Leaving the 30 hrs ⌠or auto-converting it to 1 day, 6 hrs ⌠?
(I could be wrong though⌠itâs really been a long time since I used manual inputted durations)
Or it might simply get confused, not understand the inputted duration and read something like 30:48:00 as a time value (instead of a duration) which could create some conflicts behind the scene
. (a you canât have a time value over 24 hrs)
I guess you could still contact the amazing support with this, so youâd have a clear answer of whatâs going on but in the meantime, I still have a workaround for you
âŚ
Instead of inputting your duration directly into the duration field, maybe you use 3 number field : one to input the hours, one to input the minutes and one to input the seconds and then, in your duration field recreate a duration using Duration().
Would that work for you ?
E.g.: See the field [Duration - 1] in the sample below
Duration(0,thisRow.Hours,thisRow.Minutes,thisRow.Seconds)
Hi thanks a lot for your answer. Thanks to your first question I tried entering the duration in the same format as it is displayed (I should have thought of that earlier) and it works perfectly. I think youâre right and that the way I entered it before was too confusing for Coda and it didnât know what to do with it.
Thanks again for your help and for the time you spent on it ![]()
No problem @Sam_Dojtez
! Always glad to help when I can
!
And Iâm really glad to know you found a way to make it work
!
Iâll definitively keep that in mind as I didnât even think about trying it
!