module CrystalGauntlet::Format
Extended Modules
Defined in:
lib/format.crConstant Summary
-
TIME_FORMAT =
"%Y-%m-%d %H:%M:%S"
-
TIME_FORMAT_GD_FRIENDLY =
"%d/%m/%Y %H.%M"
-
used when sending back to the client as an absolute date
-
TIME_FORMAT_USER_FRIENDLY =
"%d/%m/%Y %H:%M"
-
safe to send back in comments
Instance Method Summary
- #fmt_comment(hash) : String
- #fmt_hash(hash) : String
- #fmt_song(hash) : String
- #fmt_time(s : Time, colon_safe = false) : String
- #fmt_timespan(s : Time::Span) : String
- #fmt_timespan_bit(n : Int, s : String) : String | Nil
- #fmt_timespan_long(s : Time::Span) : String
- #fmt_value(v, colon_safe = false, tilda_safe = false, pipe_safe = false) : String