Skip to content

Commit 6fb63f0

Browse files
authored
Remove bunch of stray characters in "<chrono> operators" reference
1 parent 82ce417 commit 6fb63f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/standard-library/chrono-operators.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ constexpr year_month_weekday_last operator-(const year_month_weekday_last& ymwdl
303303
304304
8\) Returns the number of days between two weekdays.
305305
306-
9\) Returns `year(int(y)-ys.count)())`
306+
9\) Returns `year(int(y)-ys.count())`
307307
308308
10\) Returns `years(int(y) - int(y2))`. Subtracting two `year` values results in a `std::chrono::years`, which represents the difference in years between `y` and `y2`. For example, `2021y-2000y` produces `years(21)`.
309309
@@ -669,7 +669,7 @@ The right object to compare.
669669
2\) Returns **`true`** if *`Left`* and *`Right`* represent the same point in time. Otherwise, returns **`false`**.\
670670
3-17\) Returns **`true`** if *`Left`* and *`Right`* have the same value. Otherwise, returns **`false`**.\
671671
18\) Returns **`true`** if `Left.name() == Right.name()`. Otherwise, returns **`false`**.\
672-
19\) Returns **`true`** if `Left.get_time_zone() == _Right.get_time_zone() && Left.get_sys_time() == Right.get_sys_time();`
672+
19\) Returns **`true`** if `Left.get_time_zone() == Right.get_time_zone() && Left.get_sys_time() == Right.get_sys_time();`
673673
674674
## <a name="op_gt"></a> `operator>`
675675
@@ -1118,7 +1118,7 @@ The output stream you passed in, `os`
11181118
11191119
21\) In Microsoft's implementation, a `sys_info` is output as its `begin`, `end`, `offset`, `save`, and `abbrev` fields. For example: `begin: 2021-03-14 10:00:00, end: 2021-11-07 09:00:00, offset: -25200s, save: 60min, abbrev: PDT`
11201120
1121-
22\) In Microsoft's implementation, a `local_info` is output as yyyy-mm-dd hh:mm::ss.ssssss. For example, `2021-09-17 13:55:59.6590120`
1121+
22\) In Microsoft's implementation, a `local_info` is output as yyyy-mm-dd hh:mm:ss.ssssss. For example, `2021-09-17 13:55:59.6590120`
11221122
11231123
23\) The local time in the `zoned_time` (obtained as `zt.get_local_time()`) is output using the format yyyy-mm-dd hh:mm:ss timezone. For example, `2021-09-15 10:45:00 GMT-6`
11241124
@@ -1160,7 +1160,7 @@ constexpr duration<Rep1, Period1, Rep2>::type
11601160

11611161
2)
11621162
template <class Rep1, class Period1, class Rep2, class Period2>
1163-
constexpr typename common_type<duration<Rep1, _Period1>, duration<Rep2, Period2>>::type
1163+
constexpr typename common_type<duration<Rep1, Period1>, duration<Rep2, Period2>>::type
11641164
operator%(
11651165
const duration<Rep1, Period1>& Left,
11661166
const duration<Rep2, Period2>& Right);
@@ -1214,7 +1214,7 @@ A `duration` object.
12141214
*`Div`*\
12151215
An integral value.
12161216

1217-
*`Left`*\w
1217+
*`Left`*\
12181218
The left `duration` object.
12191219

12201220
*`Right`*\

0 commit comments

Comments
 (0)