File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
lang-guide/chapters/types/basic_types Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ export const sidebarEn: SidebarConfig = {
182182 '/lang-guide/chapters/types/basic_types/float.md' ,
183183 '/lang-guide/chapters/types/basic_types/filesize.md' ,
184184 '/lang-guide/chapters/types/basic_types/duration.md' ,
185- '/lang-guide/chapters/types/basic_types/date .md' ,
185+ '/lang-guide/chapters/types/basic_types/datetime .md' ,
186186 '/lang-guide/chapters/types/basic_types/range.md' ,
187187 '/lang-guide/chapters/types/basic_types/string.md' ,
188188 '/lang-guide/chapters/types/basic_types/record.md' ,
Original file line number Diff line number Diff line change @@ -133,9 +133,9 @@ It's negative
133133
134134| | |
135135| --------------------- | -------------------------------------------------------------------------------------- |
136- | ** _ Description:_ ** | Represents a specific point in time using international standard date time descriptors |
137- | ** _ Annotation:_ ** | ` date ` |
138- | ** _ Literal Syntax:_ ** | See [ Language Guide - Date] ( /lang-guide/chapters/types/basic_types/date .md ) |
136+ | ** _ Description:_ ** | Represents a specific point in time using international standard date- time descriptors |
137+ | ** _ Annotation:_ ** | ` datetime ` |
138+ | ** _ Literal Syntax:_ ** | See [ Language Guide - Date] ( /lang-guide/chapters/types/basic_types/datetime .md ) |
139139
140140Simple example:
141141
Original file line number Diff line number Diff line change 1- # Date
1+ # Datetime
22
33<!-- prettier-ignore -->
44| | |
55| --- | --- |
66| ** _ Description:_ ** | Represents a specific point in time using international standard date time descriptors
7- | ** _ Annotation:_ ** | ` date `
7+ | ** _ Annotation:_ ** | ` datetime `
88| ** _ Literal syntax:_ ** | RFC 3339
99| | Date-only: ` 2022-02-02 `
1010| | Date and time (GMT): ` 2022-02-02T14:30:00 `
1414
1515## Additional language notes
1616
17- - Dates and times are held together in the ` date ` type. Date values used by the system are timezone-aware. By default, dates use the UTC timezone.
17+ - Dates and times are held together in the ` datetime ` type. Date values used by the system are timezone-aware. By default, dates use the UTC timezone.
1818
19- ## Common commands that can be used with ` date `
19+ ## Common commands that can be used with ` datetime `
2020
21- Many of Nushell's builtin commands are datetime aware and output or use ` date ` values
21+ Many of Nushell's builtin commands are datetime aware and output or use ` datetime ` values
2222for fields and expressions. For example:
2323
24+ - ` date ` and its subcommands
25+ - ` format date `
2426- ` ls `
25- - ` where `
2627- ` ps `
2728- ` sys `
You can’t perform that action at this time.
0 commit comments