diff --git a/docs/writing-templates.md b/docs/writing-templates.md index 9dbdd59..3806a9f 100644 --- a/docs/writing-templates.md +++ b/docs/writing-templates.md @@ -78,9 +78,3 @@ This is equivalent to the following when using the `placeholder` template type: #### sprig functions The template loads the functions provided by sprig (https://masterminds.github.io/sprig/) with the exclusion of the functions are not guaranteed to evaluate to the same result for given input (https://github.com/Masterminds/sprig/blob/581758eb7d96ae4d113649668fa96acc74d46e7f/functions.go#L68-L95) - -#### "timeDuration" function -The template provides a function named "timeDuration" that accept an int64 and return equivalent `time.Duration`, for example the following will render `5s`: -```text -{{$timeDuration := timeDuration 5000000000}}{{$timeDuration}} -```