File tree 3 files changed +11
-10
lines changed
lang-guide/chapters/types/basic_types 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 = {
182
182
'/lang-guide/chapters/types/basic_types/float.md' ,
183
183
'/lang-guide/chapters/types/basic_types/filesize.md' ,
184
184
'/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' ,
186
186
'/lang-guide/chapters/types/basic_types/range.md' ,
187
187
'/lang-guide/chapters/types/basic_types/string.md' ,
188
188
'/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
133
133
134
134
| | |
135
135
| --------------------- | -------------------------------------------------------------------------------------- |
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 ) |
139
139
140
140
Simple example:
141
141
Original file line number Diff line number Diff line change 1
- # Date
1
+ # Datetime
2
2
3
3
<!-- prettier-ignore -->
4
4
| | |
5
5
| --- | --- |
6
6
| ** _ Description:_ ** | Represents a specific point in time using international standard date time descriptors
7
- | ** _ Annotation:_ ** | ` date `
7
+ | ** _ Annotation:_ ** | ` datetime `
8
8
| ** _ Literal syntax:_ ** | RFC 3339
9
9
| | Date-only: ` 2022-02-02 `
10
10
| | Date and time (GMT): ` 2022-02-02T14:30:00 `
14
14
15
15
## Additional language notes
16
16
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.
18
18
19
- ## Common commands that can be used with ` date `
19
+ ## Common commands that can be used with ` datetime `
20
20
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
22
22
for fields and expressions. For example:
23
23
24
+ - ` date ` and its subcommands
25
+ - ` format date `
24
26
- ` ls `
25
- - ` where `
26
27
- ` ps `
27
28
- ` sys `
You can’t perform that action at this time.
0 commit comments