nushell/crates/nu-command/src/date
Rob Wells 71aacf5032
Adjust examples in date commands (#12055)
Hello! This is my first PR to nushell, as I was looking at things for
#5066. The usage text for the date commands seemed fine to me, so this
is just a bit of a tidy up of the examples, mostly the description text.

# Description

- Remove two incorrect examples for `date to-record` and `date to-table`
where nothing was piped in (which causes an error in actual use).

- Fix misleading descriptions in `date to-timezone` which erroneously
referred to Hawaii's time zone.

- Standardise on "time zone" in written descriptions.

- Generally tidy up example descriptions and improve consistency.

# User-Facing Changes

Only in related help text showing examples.
2024-03-03 15:10:50 -06:00
..
date_.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
humanize.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
list_timezone.rs Adjust examples in date commands (#12055) 2024-03-03 15:10:50 -06:00
mod.rs rename from date format to format date (#9902) 2023-08-04 06:06:00 +12:00
now.rs Adjust examples in date commands (#12055) 2024-03-03 15:10:50 -06:00
parser.rs Improve case insensitivity consistency (#10884) 2023-11-08 23:58:54 +01:00
to_record.rs Adjust examples in date commands (#12055) 2024-03-03 15:10:50 -06:00
to_table.rs Adjust examples in date commands (#12055) 2024-03-03 15:10:50 -06:00
to_timezone.rs Adjust examples in date commands (#12055) 2024-03-03 15:10:50 -06:00
utils.rs Remove some unnecessary static Vecs (#11947) 2024-02-24 20:58:01 +01:00