naturaldatestr

Function naturaldatestr 

Source
pub fn naturaldatestr(date: PanDate) -> Result<String>
Expand description

Formats a date with a short, friendly representation.

  • Today: “Today”
  • Within 6 months: “Wed, Apr 20”
  • Older: “4/20/03”