$time conventions
Currently we have different ways to define functions in $time. We should think of a good naming convention or another pattern how to use $time.
Already discussed in #889 (closed)
In my opinion this would make sense:
this.$time.from('iso, query, millis, DateTime or whatever').toIso().toMillis().toDateTime()
this.$time.display('iso, query, millis, DateTime or whatever')
or something like this But that could get a bit messy. Only 3 functions from, to, display
this.$time.from(time, { type })
this.$time.from(...).to({ type })
this.$time.display(time, { short, medium, large? (some presets) })
Edited by Böhm, Jean