RFC: Seperate Date
and Time
format functions
#71
Labels
type: enhancement
A new feature or addition.
Date
and Time
format functions
#71
Hi,
It would be nice if functions for formatting
Date
andTime
types exist. Currently, if one wants to format aDate
, a dummyTime
value needs to be be created to convert to aDateTime
for formatting; likewise for theTime
type.I'm not exactly sure what the best way to do this would be. Maybe:
The main issue I see with this approach are
FormatterCommands
that are applicable to bothDate
s andTime
s, namelyPlaceholder
andUnixTimestamp
. Maybe there is a more elegant solution involving type classes?The text was updated successfully, but these errors were encountered: