# In a Helm 4.3 template, what does durationSeconds return when its input can't be parsed, such as "45 s"?

Helm, Hard (Expert), Templates. https://k8wiz.com/uquiz/in-a-helm-43-template-what-does-durationseconds-return-when-its-input-cant-be-parsed-such-as-45-s

- A. An error that stops the template from rendering
- B. The original input string, passed through as is
- C. 0, and the template keeps rendering without error
- D. nil, which the template renders as an empty value

**Answer:** 0, and the template keeps rendering without error

**Explanation:** The Helm 4.3 duration helpers such as durationSeconds and durationMilliseconds return 0 on a parse error. Only mustToDuration fails the render, so pipe a value through mustToDuration first when a silent 0 would be dangerous, for example in terminationGracePeriodSeconds.
