Changeset 59494
- Timestamp:
- 12/05/2024 09:35:40 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-locale.php
r58200 r59494 338 338 339 339 /** 340 * Retrieves translated version of month genitive string. 341 * 342 * The $month_number parameter has to be a string 343 * because it must have the '0' in front of any number 344 * that is less than 10. Starts from '01' and ends at 345 * '12'. 346 * 347 * You can use an integer instead and it will add the 348 * '0' before the numbers less than 10 for you. 349 * 350 * @since 6.8.0 351 * 352 * @param string|int $month_number '01' through '12'. 353 * @return string Translated genitive month name. 354 */ 355 public function get_month_genitive( $month_number ) { 356 return $this->month_genitive[ zeroise( $month_number, 2 ) ]; 357 } 358 359 /** 340 360 * Retrieves translated version of meridiem string. 341 361 *
Note: See TracChangeset
for help on using the changeset viewer.