Enum timeago::Style
[−]
[src]
pub enum Style { LONG, HUMAN, SHORT, }
Deprecated since 0.1.0
: Use Formatter or format_5chars
Simple formatting style for deprecated format
.
Variants
LONG
Deprecated since 0.1.0
: Use Formatter or format_5chars
Long format, like "~2 years ago"
HUMAN
Deprecated since 0.1.0
: Use Formatter or format_5chars
Human format, like LONG but makes less than 1 second as just now
SHORT
Deprecated since 0.1.0
: Use Formatter or format_5chars
Short format, like "02Yea". Should be exactly 5 characters.