TimeFormatter
typealias TimeFormatter = (<Error class: unknown class>, viewModel: AnimationViewModel) -> String(source)
A function that formats a time for display.
Parameters
date
The date to be formatted
viewModel
The AnimationViewModel instance requesting formatting.