date humanize

For date.

Print a 'humanized' format for the date, relative to now.

Command Type

built-in

Signature

> date humanize {flags}

Input/output types:

input output
datetime string
string string
list<datetime> list<string>
list<string> list<string>

Examples

Print a ‘humanized’ format for the date, relative to now.

> "2021-10-22 20:00:12 +01:00" | date humanize

Humanize a list of datetimes.

> [2021-10-22T20:00:12+01:00, 2021-10-23T20:00:00+01:00] | date humanize

Humanize a list of date strings.

> ["2021-10-22 20:00:12 +01:00", "2021-10-22 21:00:00 +01:00"] | date humanize

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.