WindSoilder
21770367e2
make date format
supports locale ( #6306 )
...
* add --locale flag to make output support locale
* implement again based on nu-utils get_system_locale_string
* add comment
2022-08-14 08:07:04 -05:00
WindSoilder
ef322a24c5
fix date format ( #5619 )
2022-05-23 09:59:34 -07:00
Abdulqudduus Babalola
667eb27d1b
feat: add search terms to date ( #5306 )
...
* add search terms
* add search terms
* add search terms
* add search terms
* add search terms
* add search terms
* add search terms
* add search terms
* add search patterns
* run cargo fmt --all
2022-04-23 08:54:03 -05:00
Reilly Wood
d38a3a8b4e
Fix command descriptions+examples ( #5129 )
...
* Fix exit usage
* Move dfr as-date* format examples to extra_usage
* Update command usage and examples
* More docs on `str trim`
Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-04-08 10:30:49 +02:00
JT
9beecff736
Add 'date to-record' ( #5058 )
2022-04-01 21:09:30 +13:00
Justin Ma
42f1874a3a
Update some examples and docs ( #4682 )
...
* Update some examples and docs
* Update now.rs
* Update date_now.md
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-01 08:05:29 -05:00
Jonathan Moore
ef70c8dbe4
Date parse refactor ( #4661 )
...
* More flexible and DRY datetime parsing
* Update error messages
* cargo fmt
* clippy
* Add DatetimeParseError
2022-02-27 20:21:46 -05:00
Justin Ma
c3979ef1cf
Add example for command n,g,p and grid, update date now examples ( #4622 )
2022-02-24 06:17:05 -06:00
Joseph T. Lyons
4f367a59de
Strip trailing whitespace in files ( #4575 )
...
* Strip trailing whitespace in rs files
* Strip trailing whitespace in toml files
* Strip trailing whitespace in md files
* Strip trailing whitespace in nu files
2022-02-21 08:38:15 -05:00
Justin Ma
1235d516a5
Add examples for env,let-env,rm,touch and date list-timezone ( #4531 )
...
* feat: update #4518 , add examples for env,let-env,rm,touch and date list-timezone
* fix typo
* update example for `date list-timezone` command
2022-02-18 18:19:37 +02:00
Justin Ma
a5f9ad2a43
Add or update examples for some commands ( #4521 )
...
* chore: add or update examples for some commands
* chore: code formatting
2022-02-18 07:06:52 -06:00
Jonathan Moore
f824388f63
Date format list ( #4485 )
...
* Add `date format --list`, and make format string optional (providing default)
* Make DRY
`into datetime --list` now uses `generate_strfttime_list` from `date format --list`
* refactor strftime to use current datetime
* Fix formatting of specification descriptions
Fixes issues caused when copying directly from docs.rs
* Change default format to rfc2822
Perhaps to make it more DRY, functions from `into datetime` can be used. However, currently `into datetime` is a bit tricky to use as it needs a separate time zone argument.
* Tweak in-shell docs to match modified behavior
* Show %#z format specifier in `into datetime --list` only
* cargo fmt
* Satisfy clippy
2022-02-15 15:13:40 -06:00
Darren Schroeder
2dd32c2b88
Rename some files ( #952 )
...
* renamed some files
* clippy
* update tests
2022-02-05 12:35:02 -05:00
Darren Schroeder
c80a15cdfe
should be inclusive ( #904 )
...
* should be inclusive
* changed tests due to spans being different
2022-01-31 17:02:36 -06:00
JT
3d0b1ef1ce
Highlight help tutor ( #838 )
...
* WIP
* Syntax highlight help, add tutor
2022-01-25 02:05:19 +11:00
JT
2883d6cd1e
Remove Span::unknown ( #525 )
2021-12-19 18:46:13 +11:00
Fernando Herrera
b35914bd17
Category option for signature ( #343 )
...
* category option for signature
* category option for signature
* column description for $scope
2021-11-17 17:22:37 +13:00
JT
02b8027749
Improve external output in subexprs ( #294 )
2021-11-06 18:50:33 +13:00
JT
25846d3c1e
Add zip command
2021-11-02 18:28:28 +13:00
Stefan Stanciulescu
4a68c989e4
Fix test for date to-table
2021-11-01 23:05:53 +01:00
Stefan Stanciulescu
304c7a0c92
Remove old code before fixing clippy's warning
2021-10-31 21:08:40 +01:00
Stefan Stanciulescu
8707fbee33
Address clippy's warnings when porting date to engine-q
2021-10-31 21:06:58 +01:00
Stefan Stanciulescu
032356bfb7
Address clippy's warnings when porting date to engine-q
2021-10-31 21:06:44 +01:00
Stefan Stanciulescu
3437dacf0b
Change output of date to-table to be a one-row table
2021-10-31 20:53:23 +01:00
Stefan Stanciulescu
20c770370b
Port date commands to engine-q
2021-10-31 07:54:51 +01:00