tmp/tmpzmmu99s4/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**Table: Meaning of conversion specifiers** <a id="time.format.spec">[time.format.spec]</a>
|
| 2 |
+
|
| 3 |
+
| Specifier | Replacement |
|
| 4 |
+
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 5 |
+
| `%a` | The locale's abbreviated weekday name. If the value does not contain a valid weekday, an exception of type `format_error` is thrown. |
|
| 6 |
+
| `%A` | The locale's full weekday name. If the value does not contain a valid weekday, an exception of type `format_error` is thrown. |
|
| 7 |
+
| `%b` | The locale's abbreviated month name. If the value does not contain a valid month, an exception of type `format_error` is thrown. |
|
| 8 |
+
| `%B` | The locale's full month name. If the value does not contain a valid month, an exception of type `format_error` is thrown. |
|
| 9 |
+
| `%c` | The locale's date and time representation. The modified command `%Ec` produces the locale's alternate date and time representation. |
|
| 10 |
+
| `%C` | The year divided by 100 using floored division. If the result is a single decimal digit, it is prefixed with `0`. The modified command `%EC` produces the locale's alternative representation of the century. |
|
| 11 |
+
| `%d` | The day of month as a decimal number. If the result is a single decimal digit, it is prefixed with `0`. The modified command `%Od` produces the locale's alternative representation. |
|
| 12 |
+
| `%D` | Equivalent to `%m/%d/%y`. |
|
| 13 |
+
| `%e` | The day of month as a decimal number. If the result is a single decimal digit, it is prefixed with a space. The modified command `%Oe` produces the locale's alternative representation. |
|
| 14 |
+
| `%F` | Equivalent to `%Y-%m-%d`. |
|
| 15 |
+
| `%g` | The last two decimal digits of the ISO week-based year. If the result is a single digit it is prefixed by `0`. |
|
| 16 |
+
| `%G` | The ISO week-based year as a decimal number. If the result is less than four digits it is left-padded with `0` to four digits. |
|
| 17 |
+
| `%h` | Equivalent to `%b`. |
|
| 18 |
+
| `%H` | The hour (24-hour clock) as a decimal number. If the result is a single digit, it is prefixed with `0`. The modified command `%OH` produces the locale's alternative representation. |
|
| 19 |
+
| `%I` | The hour (12-hour clock) as a decimal number. If the result is a single digit, it is prefixed with `0`. The modified command `%OI` produces the locale's alternative representation. |
|
| 20 |
+
| `%j` | If the type being formatted is a specialization of `duration`, the decimal number of `days` without padding. Otherwise, the day of the year as a decimal number. Jan 1 is `001`. If the result is less than three digits, it is left-padded with `0` to three digits. |
|
| 21 |
+
| `%m` | The month as a decimal number. Jan is `01`. If the result is a single digit, it is prefixed with `0`. The modified command `%Om` produces the locale's alternative representation. |
|
| 22 |
+
| `%M` | The minute as a decimal number. If the result is a single digit, it is prefixed with `0`. The modified command `%OM` produces the locale's alternative representation. |
|
| 23 |
+
| `%n` | A new-line character. |
|
| 24 |
+
| `%p` | The locale's equivalent of the AM/PM designations associated with a 12-hour clock. |
|
| 25 |
+
| `%q` | The duration's unit suffix as specified in [[time.duration.io]]. |
|
| 26 |
+
| `%Q` | The duration's numeric value (as if extracted via `.count()`). |
|
| 27 |
+
| `%r` | The locale's 12-hour clock time. |
|
| 28 |
+
| `%R` | Equivalent to `%H:%M`. |
|
| 29 |
+
| `%S` | Seconds as a decimal number. If the number of seconds is less than `10`, the result is prefixed with `0`. If the precision of the input cannot be exactly represented with seconds, then the format is a decimal floating-point number with a fixed format and a precision matching that of the precision of the input (or to a microseconds precision if the conversion to floating-point decimal seconds cannot be made within 18 fractional digits). The character for the decimal point is localized according to the locale. The modified command `%OS` produces the locale's alternative representation. |
|
| 30 |
+
| `%t` | A horizontal-tab character. |
|
| 31 |
+
| `%T` | Equivalent to `%H:%M:%S`. |
|
| 32 |
+
| `%u` | The ISO weekday as a decimal number (`1`-`7`), where Monday is `1`. The modified command `%Ou` produces the locale's alternative representation. |
|
| 33 |
+
| `%U` | The week number of the year as a decimal number. The first Sunday of the year is the first day of week `01`. Days of the same year prior to that are in week `00`. If the result is a single digit, it is prefixed with `0`. The modified command `%OU` produces the locale's alternative representation. |
|
| 34 |
+
| `%V` | The ISO week-based week number as a decimal number. If the result is a single digit, it is prefixed with `0`. The modified command `%OV` produces the locale's alternative representation. |
|
| 35 |
+
| `%w` | The weekday as a decimal number (`0`-`6`), where Sunday is `0`. The modified command `%Ow` produces the locale's alternative representation. |
|
| 36 |
+
| `%W` | The week number of the year as a decimal number. The first Monday of the year is the first day of week `01`. Days of the same year prior to that are in week `00`. If the result is a single digit, it is prefixed with `0`. The modified command `%OW` produces the locale's alternative representation. |
|
| 37 |
+
| `%x` | The locale's date representation. The modified command `%Ex` produces the locale's alternate date representation. |
|
| 38 |
+
| `%X` | The locale's time representation. The modified command `%EX` produces the locale's alternate time representation. |
|
| 39 |
+
| `%y` | The last two decimal digits of the year. If the result is a single digit it is prefixed by `0`. The modified command `%Oy` produces the locale's alternative representation. The modified command `%Ey` produces the locale's alternative representation of offset from `%EC` (year only). |
|
| 40 |
+
| `%Y` | The year as a decimal number. If the result is less than four digits it is left-padded with `0` to four digits. The modified command `%EY` produces the locale's alternative full year representation. |
|
| 41 |
+
| `%z` | The offset from UTC in the ISO 8601 format. For example `-0430` refers to 4 hours 30 minutes behind UTC. If the offset is zero, `+0000` is used. The modified commands `%Ez` and `%Oz` insert a `:` between the hours and minutes: `-04:30`. If the offset information is not available, an exception of type `format_error` is thrown. |
|
| 42 |
+
| `%Z` | The time zone abbreviation. If the time zone abbreviation is not available, an exception of type `format_error` is thrown. |
|
| 43 |
+
| `%%` | A `%` character. |
|
| 44 |
+
|