Skip to content

Commit 0161d80

Browse files
committed
chrono のいくつかの出力を修正、動作確認
コード例の動作確認を行い、記載されている出力と実際の出力が異なるものを修正しました。
1 parent a7f9e6c commit 0161d80

File tree

20 files changed

+65
-64
lines changed

20 files changed

+65
-64
lines changed

reference/chrono/choose.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int main()
6161

6262
### 出力
6363
```
64-
2016-11-06 06:30:00 UTC
64+
2016-11-06 06:30:00
6565
```
6666

6767
## バージョン
@@ -70,7 +70,7 @@ int main()
7070

7171
### 処理系
7272
- [Clang](/implementation.md#clang): 9.0 [mark noimpl]
73-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
73+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
7474
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
7575

7676

reference/chrono/gps_time.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ int main()
155155
156156
#### 出力
157157
```
158-
2019-10-24 20:15:45
159-
2019-10-24 20:15:45
158+
2019-10-24 20:15:27
159+
2019-10-24 20:15:27
160160
GPS
161161
```
162162
@@ -214,7 +214,7 @@ int main()
214214

215215
### 処理系
216216
- [Clang](/implementation.md#clang): 9.0 [mark noimpl]
217-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 14.1 [mark verified]
217+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 14.1 [mark verified], 15.1 [mark verified]
218218
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
219219

220220

reference/chrono/month_weekday.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Mar/Sun[1]
132132
Mar/Sun[1]
133133
Mar/Sun[1]
134134
Mar/Sun[1]
135-
2020/03/01
135+
2020-03-01
136136
```
137137

138138
## バージョン
@@ -141,7 +141,7 @@ Mar/Sun[1]
141141

142142
### 処理系
143143
- [Clang](/implementation.md#clang): 8.0 (出力ストリームなし) [mark verified]
144-
- [GCC](/implementation.md#gcc): 11.1 (出力ストリームなし) [mark verified]
144+
- [GCC](/implementation.md#gcc): 11.1 (出力ストリームなし) [mark verified], 15.1 [mark verified]
145145
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
146146

147147

reference/chrono/month_weekday_last.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Mar/Sun[last]
132132
Mar/Sun[last]
133133
Mar/Sun[last]
134134
Mar/Sun[last]
135-
2020/03/29
135+
2020-03-29
136136
```
137137

138138
## バージョン
@@ -141,7 +141,7 @@ Mar/Sun[last]
141141

142142
### 処理系
143143
- [Clang](/implementation.md#clang): 8.0 (出力ストリームなし) [mark verified]
144-
- [GCC](/implementation.md#gcc): 11.1 (出力ストリームなし) [mark verified]
144+
- [GCC](/implementation.md#gcc): 11.1 (出力ストリームなし) [mark verified], 15.1 [mark verified]
145145
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
146146

147147

reference/chrono/month_weekday_last/formatter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int main() {
4646

4747
### 出力
4848
```
49-
1 : Mar/Sun[1]
49+
1 : Mar/Sun[last]
5050
2 : March, Sunday
5151
3 : 03, Sun
5252
4 : 3月, 日
@@ -59,7 +59,7 @@ int main() {
5959

6060
### 処理系
6161
- [Clang](/implementation.md#clang): 9.0 [mark noimpl]
62-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
62+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
6363
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
6464

6565

reference/chrono/tai_clock/from_utc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ int main()
7676

7777
### 出力
7878
```
79+
2019-10-24
7980
2019-10-24 00:00:00
80-
2019-10-24 00:00:00 UTC
81-
2019-10-24 00:00:37 TAI
81+
2019-10-24 00:00:37
8282
27
8383
```
8484

@@ -88,5 +88,5 @@ int main()
8888

8989
### 処理系
9090
- [Clang](/implementation.md#clang): 9.0 [mark noimpl]
91-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
91+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
9292
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]

reference/chrono/tai_clock/to_utc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ int main()
7272

7373
### 出力
7474
```
75-
2019-10-24 00:00:37 TAI
76-
2019-10-24 00:00:00 UTC
75+
2019-10-24 00:00:37
76+
2019-10-24 00:00:00
7777
27
7878
```
7979

@@ -83,5 +83,5 @@ int main()
8383

8484
### 処理系
8585
- [Clang](/implementation.md#clang): 9.0 [mark noimpl]
86-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
86+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
8787
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]

reference/chrono/utc_clock/from_sys.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ int main()
5555

5656
### 出力
5757
```
58-
2015-01-01
59-
2015-01-01 00:00:00 UTC
60-
26
58+
2015-07-01
59+
2015-07-01 00:00:00
60+
26s
6161
```
6262

6363
## バージョン
@@ -66,7 +66,7 @@ int main()
6666

6767
### 処理系
6868
- [Clang](/implementation.md#clang): 9.0 [mark noimpl]
69-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
69+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
7070
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
7171

7272

reference/chrono/utc_clock/to_sys.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ int main()
5050

5151
### 出力
5252
```
53-
2015-01-01 00:00:00 UTC
54-
2015-01-01
55-
26
53+
2015-07-01 00:00:00
54+
2015-07-01 00:00:00
55+
26s
5656
```
5757

5858
## バージョン
@@ -61,7 +61,7 @@ int main()
6161

6262
### 処理系
6363
- [Clang](/implementation.md#clang): 9.0 [mark noimpl]
64-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
64+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
6565
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
6666

6767

reference/chrono/weekday/c_encoding.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ int main()
6464

6565
### 出力
6666
```
67-
Sunday : 0
68-
Monday : 1
69-
Tuesday : 2
70-
Wednesday : 3
71-
Thursday : 4
72-
Friday : 5
73-
Saturday : 6
67+
Sun : 0
68+
Mon : 1
69+
Tue : 2
70+
Wed : 3
71+
Thu : 4
72+
Fri : 5
73+
Sat : 6
7474
```
7575

7676
## バージョン
@@ -79,7 +79,7 @@ Saturday : 6
7979

8080
### 処理系
8181
- [Clang](/implementation.md#clang): 10.0 [mark verified]
82-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
82+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
8383
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
8484

8585

0 commit comments

Comments
 (0)