Using Clock24Hours string format cause error using custom string format.
I solved adding '%' char before 'H' format.
https://stackoverflow.com/questions/3459677/why-does-datetime-tostringh-cause-exception
Thanks for reporting the issue. It's now fixed in the latest sandbox build (8.4.3620):
https://www.daypilot.org/sandbox/