Skip to main content

Data_Formatter.with_format

with_formattypeformat

Documentation

Create a clone of self with a changed format string for a particular datatype. It is mostly a convenience function to easily specify a datatype format.

Arguments

  • type: The value type for which to change the format. The format can be changed only for Date_Time, Date, Time and Boolean value types.
  • format: The new format string to set. For dates, it is the usual date format notation, and for booleans it should be two values that represent true and false, separated by a |.