Skip to content

Commit dc88250

Browse files
Correct Month range in ok member description (#4215)
1 parent cc995af commit dc88250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/standard-library/month-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ See [Month constants](#month-constants), below, for constants that you can use w
2626
|Name|Description|
2727
|----------|-----------------|
2828
| [Constructors](#month) | Construct a `month`. |
29-
| [`ok`](#ok) | Verify that the month value is in the valid range [1,31]. |
29+
| [`ok`](#ok) | Verify that the month value is in the valid range [1,12]. |
3030
| [`operator++`](#op_++) | Increment the `month`. |
3131
| [`operator+=`](#op_+=) | Add the specified number of months to this `month`. |
3232
| [`operator--`](#op_--) | Decrement this `month`. |
@@ -272,4 +272,4 @@ inline constexpr month December{12};
272272
[`month_day` Class](month-day-class.md)\
273273
[`month_day_last` Class](month-day-last-class.md)\
274274
[`month_weekday` Class](month-weekday-class.md)\
275-
[`month_weekday_last` class](month-weekday-last-class.md)
275+
[`month_weekday_last` class](month-weekday-last-class.md)

0 commit comments

Comments
 (0)