composer update

This commit is contained in:
2020-05-10 09:29:56 +00:00
parent c6f807ebad
commit 8e93eececf
919 changed files with 11790 additions and 7005 deletions

View File

@@ -24,17 +24,20 @@
"homepage": "http://github.com/kylekatarnls"
}
],
"prefer-stable": true,
"minimum-stability": "dev",
"bin": ["bin/carbon"],
"require": {
"php": "^7.1.8 || ^8.0",
"ext-json": "*",
"symfony/polyfill-mbstring": "^1.0",
"symfony/translation": "^3.4 || ^4.0 || ^5.0"
},
"require-dev": {
"doctrine/orm": "^2.7",
"friendsofphp/php-cs-fixer": "^2.14 || ^3.0",
"kylekatarnls/multi-tester": "^1.1",
"phpmd/phpmd": "dev-php-7.1-compatibility",
"phpmd/phpmd": "^2.8",
"phpstan/phpstan": "^0.11",
"phpunit/phpunit": "^7.5 || ^8.0",
"squizlabs/php_codesniffer": "^3.4"

View File

@@ -23,6 +23,7 @@
<exclude name="BooleanArgumentFlag" />
<exclude name="StaticAccess" />
<exclude name="IfStatementAssignment" />
<exclude name="UndefinedVariable" />
</rule>
<rule ref="rulesets/controversial.xml" />
<rule ref="rulesets/design.xml">

View File

@@ -131,3 +131,9 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
<a href="https://opencollective.com/Carbon/sponsor/2/website" target="_blank"><img src="https://opencollective.com/Carbon/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/Carbon/sponsor/3/website" target="_blank"><img src="https://opencollective.com/Carbon/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/Carbon/sponsor/4/website" target="_blank"><img src="https://opencollective.com/Carbon/sponsor/4/avatar.svg"></a>
## Carbon for enterprise
Available as part of the Tidelift Subscription.
The maintainers of ``Carbon`` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

View File

@@ -56,6 +56,8 @@ use DateTime;
* @property-read int $daysInMonth number of days in the given month
* @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
* @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
* @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
* @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
* @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
* @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
* @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
@@ -80,8 +82,6 @@ use DateTime;
* @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
* @property-read string $timezoneName the current timezone name
* @property-read string $tzName alias of $timezoneName
* @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
* @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
* @property-read string $locale locale of the current instance
*
* @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)

View File

@@ -56,6 +56,8 @@ use DateTimeImmutable;
* @property-read int $daysInMonth number of days in the given month
* @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
* @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
* @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
* @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
* @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
* @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
* @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
@@ -80,8 +82,6 @@ use DateTimeImmutable;
* @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
* @property-read string $timezoneName the current timezone name
* @property-read string $tzName alias of $timezoneName
* @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
* @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
* @property-read string $locale locale of the current instance
*
* @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)

View File

@@ -63,6 +63,8 @@ use ReflectionException;
* @property-read int $daysInMonth number of days in the given month
* @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
* @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
* @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
* @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
* @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
* @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
* @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
@@ -87,8 +89,6 @@ use ReflectionException;
* @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
* @property-read string $timezoneName the current timezone name
* @property-read string $tzName alias of $timezoneName
* @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
* @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
* @property-read string $locale locale of the current instance
*
* @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
@@ -625,14 +625,19 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
*/
public static function __callStatic($method, $parameters);
/**
* Update constructedObjectId on cloned.
*/
public function __clone();
/**
* Create a new Carbon instance.
*
* Please see the testing aids section (specifically static::setTestNow())
* for more on the possibility of this constructor returning a test instance.
*
* @param string|null $time
* @param \DateTimeZone|string|null $tz
* @param string|null $time
* @param DateTimeZone|string|null $tz
*/
public function __construct($time = null, $tz = null);
@@ -794,12 +799,16 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Determines if the instance is between two others.
*
* The third argument allow you to specify if bounds are included or not (true by default)
* but for when you including/excluding bounds may produce different results in your application,
* we recommend to use the explicit methods ->betweenIncluded() or ->betweenExcluded() instead.
*
* @example
* ```
* Carbon::parse('2018-07-25')->between('2018-07-14', '2018-08-01'); // true
* Carbon::parse('2018-07-25')->between('2018-08-01', '2018-08-20'); // false
* Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01'); // false
* Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01', true); // true
* Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01'); // true
* Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01', false); // false
* ```
*
* @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
@@ -827,6 +836,23 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
*/
public function betweenExcluded($date1, $date2): bool;
/**
* Determines if the instance is between two others, bounds included.
*
* @example
* ```
* Carbon::parse('2018-07-25')->betweenExcluded('2018-07-14', '2018-08-01'); // true
* Carbon::parse('2018-07-25')->betweenExcluded('2018-08-01', '2018-08-20'); // false
* Carbon::parse('2018-07-25')->betweenExcluded('2018-07-25', '2018-08-01'); // true
* ```
*
* @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
* @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
*
* @return bool
*/
public function betweenIncluded($date1, $date2): bool;
/**
* Returns either the close date "Friday 15h30", or a calendar date "10/09/2017" is farthest than 7 days from now.
*
@@ -900,6 +926,15 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
*/
public function change($modifier);
/**
* Cleanup properties attached to the public scope of DateTime when a dump of the date is requested.
* foreach ($date as $_) {}
* serializer($date)
* var_export($date)
* get_object_vars($date)
*/
public function cleanupDumpProperties();
/**
* @alias copy
*
@@ -938,13 +973,13 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
* If $hour is not null then the default values for $minute and $second
* will be 0.
*
* @param int|null $year
* @param int|null $month
* @param int|null $day
* @param int|null $hour
* @param int|null $minute
* @param int|null $second
* @param \DateTimeZone|string|null $tz
* @param int|null $year
* @param int|null $month
* @param int|null $day
* @param int|null $hour
* @param int|null $minute
* @param int|null $second
* @param DateTimeZone|string|null $tz
*
* @throws \InvalidArgumentException
*
@@ -955,10 +990,10 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from just a date. The time portion is set to now.
*
* @param int|null $year
* @param int|null $month
* @param int|null $day
* @param \DateTimeZone|string|null $tz
* @param int|null $year
* @param int|null $month
* @param int|null $day
* @param DateTimeZone|string|null $tz
*
* @throws \InvalidArgumentException
*
@@ -969,9 +1004,9 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from a specific format.
*
* @param string $format Datetime format
* @param string $time
* @param \DateTimeZone|string|false|null $tz
* @param string $format Datetime format
* @param string $time
* @param DateTimeZone|string|false|null $tz
*
* @throws InvalidArgumentException
*
@@ -984,7 +1019,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
*
* @param string $format Datetime format
* @param string $time
* @param \DateTimeZone|string|false|null $tz optional timezone
* @param DateTimeZone|string|false|null $tz optional timezone
* @param string|null $locale locale to be used for LTS, LT, LL, LLL, etc. macro-formats (en by fault, unneeded if no such macro-format in use)
* @param \Symfony\Component\Translation\TranslatorInterface $translator optional custom translator to use for macro-formats
*
@@ -997,10 +1032,10 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from a specific format and a string in a given language.
*
* @param string $format Datetime format
* @param string $locale
* @param string $time
* @param \DateTimeZone|string|false|null $tz
* @param string $format Datetime format
* @param string $locale
* @param string $time
* @param DateTimeZone|string|false|null $tz
*
* @throws InvalidArgumentException
*
@@ -1011,10 +1046,10 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from a specific ISO format and a string in a given language.
*
* @param string $format Datetime ISO format
* @param string $locale
* @param string $time
* @param \DateTimeZone|string|false|null $tz
* @param string $format Datetime ISO format
* @param string $locale
* @param string $time
* @param DateTimeZone|string|false|null $tz
*
* @throws InvalidArgumentException
*
@@ -1025,10 +1060,10 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from just a time. The date portion is set to today.
*
* @param int|null $hour
* @param int|null $minute
* @param int|null $second
* @param \DateTimeZone|string|null $tz
* @param int|null $hour
* @param int|null $minute
* @param int|null $second
* @param DateTimeZone|string|null $tz
*
* @throws \InvalidArgumentException
*
@@ -1039,8 +1074,8 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from a time string. The date portion is set to today.
*
* @param string $time
* @param \DateTimeZone|string|null $tz
* @param string $time
* @param DateTimeZone|string|null $tz
*
* @throws \InvalidArgumentException
*
@@ -1061,7 +1096,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from a timestamp in milliseconds.
*
* @param int $timestamp
* @param float $timestamp
* @param \DateTimeZone|string|null $tz
*
* @return static
@@ -1080,10 +1115,10 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from just a date. The time portion is set to midnight.
*
* @param int|null $year
* @param int|null $month
* @param int|null $day
* @param \DateTimeZone|string|null $tz
* @param int|null $year
* @param int|null $month
* @param int|null $day
* @param DateTimeZone|string|null $tz
*
* @return static
*/
@@ -1104,13 +1139,13 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
* If one of the set values is not valid, an \InvalidArgumentException
* will be thrown.
*
* @param int|null $year
* @param int|null $month
* @param int|null $day
* @param int|null $hour
* @param int|null $minute
* @param int|null $second
* @param \DateTimeZone|string|null $tz
* @param int|null $year
* @param int|null $month
* @param int|null $day
* @param int|null $hour
* @param int|null $minute
* @param int|null $second
* @param DateTimeZone|string|null $tz
*
* @throws \Carbon\Exceptions\InvalidDateException|\InvalidArgumentException
*
@@ -1139,7 +1174,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffAsCarbonInterval($date = null, $absolute = true);
/**
* Get the difference by the given interval using a filter closure
* Get the difference by the given interval using a filter closure.
*
* @param CarbonInterval $ci An interval to traverse by
* @param Closure $callback
@@ -1194,7 +1229,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffForHumans($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
/**
* Get the difference in days
* Get the difference in days rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1204,7 +1239,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInDays($date = null, $absolute = true);
/**
* Get the difference in days using a filter closure
* Get the difference in days using a filter closure rounded down.
*
* @param Closure $callback
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
@@ -1215,7 +1250,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInDaysFiltered(\Closure $callback, $date = null, $absolute = true);
/**
* Get the difference in hours.
* Get the difference in hours rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1225,7 +1260,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInHours($date = null, $absolute = true);
/**
* Get the difference in hours using a filter closure
* Get the difference in hours using a filter closure rounded down.
*
* @param Closure $callback
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
@@ -1246,7 +1281,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInMicroseconds($date = null, $absolute = true);
/**
* Get the difference in milliseconds.
* Get the difference in milliseconds rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1256,7 +1291,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInMilliseconds($date = null, $absolute = true);
/**
* Get the difference in minutes.
* Get the difference in minutes rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1266,7 +1301,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInMinutes($date = null, $absolute = true);
/**
* Get the difference in months
* Get the difference in months rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1276,7 +1311,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInMonths($date = null, $absolute = true);
/**
* Get the difference in hours using timestamps.
* Get the difference in hours rounded down using timestamps.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1296,7 +1331,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInRealMicroseconds($date = null, $absolute = true);
/**
* Get the difference in milliseconds using timestamps.
* Get the difference in milliseconds rounded down using timestamps.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1306,7 +1341,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInRealMilliseconds($date = null, $absolute = true);
/**
* Get the difference in minutes using timestamps.
* Get the difference in minutes rounded down using timestamps.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1326,7 +1361,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInRealSeconds($date = null, $absolute = true);
/**
* Get the difference in seconds.
* Get the difference in seconds rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1336,7 +1371,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInSeconds($date = null, $absolute = true);
/**
* Get the difference in weekdays
* Get the difference in weekdays rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1346,7 +1381,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInWeekdays($date = null, $absolute = true);
/**
* Get the difference in weekend days using a filter
* Get the difference in weekend days using a filter rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1356,7 +1391,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function diffInWeekendDays($date = null, $absolute = true);
/**
* Get the difference in weeks
* Get the difference in weeks rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
@@ -1365,6 +1400,16 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
*/
public function diffInWeeks($date = null, $absolute = true);
/**
* Get the difference in quarters rounded down.
*
* @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
* @param bool $absolute Get the absolute of the difference
*
* @return int
*/
public function diffInQuarters($date = null, $absolute = true);
/**
* Get the difference in years
*
@@ -1459,7 +1504,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function endOfHour();
/**
* Resets the date to end of the century and time to 23:59:59.999999
* Resets the date to end of the millennium and time to 23:59:59.999999
*
* @example
* ```
@@ -1980,6 +2025,15 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
*/
public static function getLastErrors();
/**
* Get the raw callable macro registered globally or locally for a given name.
*
* @param string $name
*
* @return callable|null
*/
public function getLocalMacro($name);
/**
* Get the translator of the current instance or the default if none set.
*
@@ -1994,6 +2048,15 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
*/
public static function getLocale();
/**
* Get the raw callable macro registered globally for a given name.
*
* @param string $name
*
* @return callable|null
*/
public static function getMacro($name);
/**
* get midday/noon hour
*
@@ -2257,7 +2320,23 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public static function hasFormat($date, $format);
/**
* Checks if macro is registered.
* Checks if macro is registered globally or locally.
*
* @param string $name
*
* @return bool
*/
public function hasLocalMacro($name);
/**
* Return true if the current instance has its own translator.
*
* @return bool
*/
public function hasLocalTranslator();
/**
* Checks if macro is registered globally.
*
* @param string $name
*
@@ -2285,7 +2364,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from a DateTime one.
*
* @param \DateTimeInterface $date
* @param DateTimeInterface $date
*
* @return static
*/
@@ -3163,7 +3242,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Get a Carbon instance for the current date and time.
*
* @param \DateTimeZone|string|null $tz
* @param DateTimeZone|string|null $tz
*
* @return static
*/
@@ -3232,8 +3311,8 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
* as it allows you to do Carbon::parse('Monday next week')->fn() rather
* than (new Carbon('Monday next week'))->fn().
*
* @param string|null $time
* @param \DateTimeZone|string|null $tz
* @param string|null $time
* @param DateTimeZone|string|null $tz
*
* @return static
*/
@@ -3242,9 +3321,9 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
*
* @param string $time
* @param string $locale
* @param \DateTimeZone|string|null $tz
* @param string $time
* @param string $locale
* @param DateTimeZone|string|null $tz
*
* @return static
*/
@@ -3299,9 +3378,9 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance from a specific format.
*
* @param string $format Datetime format
* @param string $time
* @param \DateTimeZone|string|false|null $tz
* @param string $format Datetime format
* @param string $time
* @param DateTimeZone|string|false|null $tz
*
* @throws InvalidArgumentException
*
@@ -3325,8 +3404,8 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
* as it allows you to do Carbon::parse('Monday next week')->fn() rather
* than (new Carbon('Monday next week'))->fn().
*
* @param string|null $time
* @param \DateTimeZone|string|null $tz
* @param string|null $time
* @param DateTimeZone|string|null $tz
*
* @return static
*/
@@ -3866,7 +3945,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
public function startOfHour();
/**
* Resets the date to the first day of the century and the time to 00:00:00
* Resets the date to the first day of the millennium and the time to 00:00:00
*
* @example
* ```
@@ -4481,7 +4560,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance for today.
*
* @param \DateTimeZone|string|null $tz
* @param DateTimeZone|string|null $tz
*
* @return static
*/
@@ -4490,7 +4569,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance for tomorrow.
*
* @param \DateTimeZone|string|null $tz
* @param DateTimeZone|string|null $tz
*
* @return static
*/
@@ -4735,7 +4814,7 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
/**
* Create a Carbon instance for yesterday.
*
* @param \DateTimeZone|string|null $tz
* @param DateTimeZone|string|null $tz
*
* @return static
*/

View File

@@ -321,6 +321,14 @@ class CarbonInterval extends DateInterval
*/
public function __construct($years = 1, $months = null, $weeks = null, $days = null, $hours = null, $minutes = null, $seconds = null, $microseconds = null)
{
if ($years instanceof DateInterval) {
parent::__construct(static::getDateIntervalSpec($years));
$this->f = $years->f;
static::copyNegativeUnits($years, $this);
return;
}
$spec = $years;
if (!is_string($spec) || floatval($years) || preg_match('/^[0-9.]/', $years)) {
@@ -817,19 +825,27 @@ class CarbonInterval extends DateInterval
$microseconds = $interval->f;
$instance = new $className(static::getDateIntervalSpec($interval));
if ($microseconds) {
$instance->f = $microseconds;
}
$instance->invert = $interval->invert;
foreach (['y', 'm', 'd', 'h', 'i', 's'] as $unit) {
if ($interval->$unit < 0) {
$instance->$unit *= -1;
}
}
static::copyNegativeUnits($interval, $instance);
return $instance;
}
private static function copyNegativeUnits(DateInterval $from, DateInterval $to)
{
$to->invert = $from->invert;
foreach (['y', 'm', 'd', 'h', 'i', 's'] as $unit) {
if ($from->$unit < 0) {
$to->$unit *= -1;
}
}
}
/**
* Cast the current instance into the given class.
*
@@ -978,7 +994,7 @@ class CarbonInterval extends DateInterval
return $this->d % static::getDaysPerWeek();
case 'locale':
return $this->getLocalTranslator()->getLocale();
return $this->getTranslatorLocale();
default:
throw new InvalidArgumentException(sprintf("Unknown getter '%s'", $name));
@@ -1264,9 +1280,30 @@ class CarbonInterval extends DateInterval
return $this;
}
protected function getForHumansInitialVariables($syntax, $short)
{
if (is_array($syntax)) {
return $syntax;
}
if (is_int($short)) {
return [
'parts' => $short,
'short' => false,
];
}
if (is_bool($syntax)) {
return [
'short' => $syntax,
'syntax' => CarbonInterface::DIFF_ABSOLUTE,
];
}
return [];
}
/**
* @SuppressWarnings(PHPMD.ElseExpression)
*
* @param mixed $syntax
* @param mixed $short
* @param mixed $parts
@@ -1281,20 +1318,8 @@ class CarbonInterval extends DateInterval
$join = $default === '' ? '' : ' ';
$altNumbers = false;
$aUnit = false;
if (is_array($syntax)) {
extract($syntax);
} else {
if (is_int($short)) {
$parts = $short;
$short = false;
}
if (is_bool($syntax)) {
$short = $syntax;
$syntax = CarbonInterface::DIFF_ABSOLUTE;
}
}
$minimumUnit = 's';
extract($this->getForHumansInitialVariables($syntax, $short));
if (is_null($syntax)) {
$syntax = CarbonInterface::DIFF_ABSOLUTE;
@@ -1357,7 +1382,7 @@ class CarbonInterval extends DateInterval
':optional-space' => $optionalSpace,
];
return [$syntax, $short, $parts, $options, $join, $aUnit, $altNumbers, $interpolations];
return [$syntax, $short, $parts, $options, $join, $aUnit, $altNumbers, $interpolations, $minimumUnit];
}
protected static function getRoundingMethodFromOptions(int $options): ?string
@@ -1453,6 +1478,7 @@ class CarbonInterval extends DateInterval
* echo CarbonInterval::fromString('4d 3h 40m')->forHumans(['parts' => 3, 'join' => true]) . "\n";
* echo CarbonInterval::fromString('4d 3h 40m')->forHumans(['short' => true]) . "\n";
* echo CarbonInterval::fromString('1d 24h')->forHumans(['join' => ' or ']) . "\n";
* echo CarbonInterval::fromString('1d 24h')->forHumans(['minimumUnit' => 'hour']) . "\n";
* ```
*
* @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
@@ -1468,6 +1494,8 @@ class CarbonInterval extends DateInterval
* ` will be used instead of the glue for the last item
* ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
* ` - if $join is missing, a space will be used as glue
* - 'minimumUnit' entry determines the smallest unit of time to display can be long or
* ` short form of the units, e.g. 'hour' or 'h' (default value: s)
* if int passed, it add modifiers:
* Possible values:
* - CarbonInterface::DIFF_ABSOLUTE no modifiers
@@ -1482,7 +1510,7 @@ class CarbonInterval extends DateInterval
*/
public function forHumans($syntax = null, $short = false, $parts = -1, $options = null)
{
[$syntax, $short, $parts, $options, $join, $aUnit, $altNumbers, $interpolations] = $this->getForHumansParameters($syntax, $short, $parts, $options);
[$syntax, $short, $parts, $options, $join, $aUnit, $altNumbers, $interpolations, $minimumUnit] = $this->getForHumansParameters($syntax, $short, $parts, $options);
$interval = [];
@@ -1497,13 +1525,15 @@ class CarbonInterval extends DateInterval
/** @var \Symfony\Component\Translation\Translator $translator */
$translator = $this->getLocalTranslator();
$handleDeclensions = function ($unit, $count) use ($interpolations, $transId, $translator, $altNumbers) {
// Some languages have special pluralization for past and future tense.
$key = $unit.'_'.$transId;
$result = $this->translate($key, $interpolations, $count, $translator, $altNumbers);
$handleDeclensions = function ($unit, $count) use ($interpolations, $transId, $translator, $altNumbers, $absolute) {
if (!$absolute) {
// Some languages have special pluralization for past and future tense.
$key = $unit.'_'.$transId;
$result = $this->translate($key, $interpolations, $count, $translator, $altNumbers);
if ($result !== $key) {
return $result;
if ($result !== $key) {
return $result;
}
}
$result = $this->translate($unit, $interpolations, $count, $translator, $altNumbers);
@@ -1528,16 +1558,17 @@ class CarbonInterval extends DateInterval
}
$diffIntervalArray = [
['value' => $intervalValues->years, 'unit' => 'year', 'unitShort' => 'y'],
['value' => $intervalValues->months, 'unit' => 'month', 'unitShort' => 'm'],
['value' => $intervalValues->weeks, 'unit' => 'week', 'unitShort' => 'w'],
['value' => $intervalValues->daysExcludeWeeks, 'unit' => 'day', 'unitShort' => 'd'],
['value' => $intervalValues->hours, 'unit' => 'hour', 'unitShort' => 'h'],
['value' => $intervalValues->minutes, 'unit' => 'minute', 'unitShort' => 'min'],
['value' => $intervalValues->seconds, 'unit' => 'second', 'unitShort' => 's'],
['value' => $intervalValues->years, 'unit' => 'year', 'unitShort' => 'y'],
['value' => $intervalValues->months, 'unit' => 'month', 'unitShort' => 'm'],
['value' => $intervalValues->weeks, 'unit' => 'week', 'unitShort' => 'w'],
['value' => $intervalValues->daysExcludeWeeks, 'unit' => 'day', 'unitShort' => 'd'],
['value' => $intervalValues->hours, 'unit' => 'hour', 'unitShort' => 'h'],
['value' => $intervalValues->minutes, 'unit' => 'minute', 'unitShort' => 'min'],
['value' => $intervalValues->seconds, 'unit' => 'second', 'unitShort' => 's'],
['value' => $intervalValues->milliseconds, 'unit' => 'millisecond', 'unitShort' => 'ms'],
];
$transChoice = function ($short, $unitData) use ($handleDeclensions, $translator, $aUnit, $altNumbers, $interpolations) {
$transChoice = function ($short, $unitData) use ($absolute, $handleDeclensions, $translator, $aUnit, $altNumbers, $interpolations) {
$count = $unitData['value'];
if ($short) {
@@ -1554,9 +1585,14 @@ class CarbonInterval extends DateInterval
}
}
if (!$absolute) {
return $handleDeclensions($unitData['unit'], $count);
}
return $this->translate($unitData['unit'], $interpolations, $count, $translator, $altNumbers);
};
$fallbackUnit = ['second', 's'];
foreach ($diffIntervalArray as $diffIntervalData) {
if ($diffIntervalData['value'] > 0) {
$unit = $short ? $diffIntervalData['unitShort'] : $diffIntervalData['unit'];
@@ -1570,6 +1606,13 @@ class CarbonInterval extends DateInterval
if (count($interval) >= $parts) {
break;
}
// break the loop after we have reached the minimum unit
if (in_array($minimumUnit, [$diffIntervalData['unit'], $diffIntervalData['unitShort']])) {
$fallbackUnit = [$diffIntervalData['unit'], $diffIntervalData['unitShort']];
break;
}
}
if (count($interval) === 0) {
@@ -1583,7 +1626,7 @@ class CarbonInterval extends DateInterval
}
$count = $options & CarbonInterface::NO_ZERO_DIFF ? 1 : 0;
$unit = $short ? 's' : 'second';
$unit = $fallbackUnit[$short ? 1 : 0];
$interval[] = $this->translate($unit, $interpolations, $count, $translator, $altNumbers);
}
@@ -1621,9 +1664,9 @@ class CarbonInterval extends DateInterval
}
}
$aTime = $aUnit ? $handleDeclensions('a_'.$unit.'_'.$transId, $count) : null;
$aTime = $aUnit ? $handleDeclensions('a_'.$unit, $count) : null;
$time = $aTime ?: $handleDeclensions($unit.'_'.$transId, $count) ?: $time;
$time = $aTime ?: $handleDeclensions($unit, $count) ?: $time;
}
$time = [':time' => $time];
@@ -1638,6 +1681,16 @@ class CarbonInterval extends DateInterval
*/
public function __toString()
{
$format = $this->localToStringFormat;
if ($format) {
if ($format instanceof Closure) {
return $format($this);
}
return $this->format($format);
}
return $this->forHumans();
}
@@ -2007,14 +2060,29 @@ class CarbonInterval extends DateInterval
$cumulativeFactor = 0;
$unitFound = false;
$factors = static::getFlipCascadeFactors();
$daysPerWeek = static::getDaysPerWeek();
$values = [
'years' => $this->years,
'months' => $this->months,
'weeks' => (int) floor($this->d / $daysPerWeek),
'dayz' => (int) ($this->d % $daysPerWeek),
'hours' => $this->hours,
'minutes' => $this->minutes,
'seconds' => $this->seconds,
'milliseconds' => (int) floor($this->microseconds / Carbon::MICROSECONDS_PER_MILLISECOND),
'microseconds' => (int) ($this->microseconds % Carbon::MICROSECONDS_PER_MILLISECOND),
];
if (isset($factors['dayz']) && $factors['dayz'][0] !== 'weeks') {
$values['dayz'] += $values['weeks'] * $daysPerWeek;
$values['weeks'] = 0;
}
foreach ($factors as $source => [$target, $factor]) {
if ($source === $realUnit) {
$unitFound = true;
$value = $this->$source;
if ($source === 'microseconds' && isset($factors['milliseconds'])) {
$value %= Carbon::MICROSECONDS_PER_MILLISECOND;
}
$value = $values[$source];
$result += $value;
$cumulativeFactor = 1;
}
@@ -2036,22 +2104,18 @@ class CarbonInterval extends DateInterval
if ($cumulativeFactor) {
$cumulativeFactor *= $factor;
$result += $this->$target * $cumulativeFactor;
$result += $values[$target] * $cumulativeFactor;
continue;
}
$value = $this->$source;
if ($source === 'microseconds' && isset($factors['milliseconds'])) {
$value %= Carbon::MICROSECONDS_PER_MILLISECOND;
}
$value = $values[$source];
$result = ($result + $value) / $factor;
}
if (isset($target) && !$cumulativeFactor) {
$result += $this->$target;
$result += $values[$target];
}
if (!$unitFound) {
@@ -2059,7 +2123,7 @@ class CarbonInterval extends DateInterval
}
if ($unit === 'weeks') {
return $result / static::getDaysPerWeek();
return $result / $daysPerWeek;
}
return $result;
@@ -2230,6 +2294,10 @@ class CarbonInterval extends DateInterval
/**
* Determines if the instance is between two others.
*
* The third argument allow you to specify if bounds are included or not (true by default)
* but for when you including/excluding bounds may produce different results in your application,
* we recommend to use the explicit methods ->betweenIncluded() or ->betweenExcluded() instead.
*
* @example
* ```
* CarbonInterval::hours(48)->between(CarbonInterval::day(), CarbonInterval::days(3)); // true
@@ -2251,6 +2319,26 @@ class CarbonInterval extends DateInterval
: $this->greaterThan($interval1) && $this->lessThan($interval2);
}
/**
* Determines if the instance is between two others, bounds excluded.
*
* @example
* ```
* CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::days(3)); // true
* CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::hours(36)); // false
* CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::days(2)); // true
* ```
*
* @param \Carbon\CarbonInterval|\DateInterval|mixed $interval1
* @param \Carbon\CarbonInterval|\DateInterval|mixed $interval2
*
* @return bool
*/
public function betweenIncluded($interval1, $interval2): bool
{
return $this->between($interval1, $interval2, true);
}
/**
* Determines if the instance is between two others, bounds excluded.
*

View File

@@ -621,10 +621,30 @@ class CarbonPeriod implements Iterator, Countable, JsonSerializable
// Parse and assign arguments one by one. First argument may be an ISO 8601 spec,
// which will be first parsed into parts and then processed the same way.
if (count($arguments) && static::isIso8601($iso = $arguments[0])) {
$agumentsCount = count($arguments);
if ($agumentsCount && static::isIso8601($iso = $arguments[0])) {
array_splice($arguments, 0, 1, static::parseIso8601($iso));
}
if ($agumentsCount === 1) {
if ($arguments[0] instanceof DatePeriod) {
$arguments = [
$arguments[0]->start,
$arguments[0]->end ?: ($arguments[0]->recurrences - 1),
$arguments[0]->interval,
$arguments[0]->include_start_date ? 0 : static::EXCLUDE_START_DATE,
];
} elseif ($arguments[0] instanceof self) {
$arguments = [
$arguments[0]->getStartDate(),
$arguments[0]->getEndDate() ?: $arguments[0]->getRecurrences(),
$arguments[0]->getDateInterval(),
$arguments[0]->getOptions(),
];
}
}
foreach ($arguments as $argument) {
if ($this->dateInterval === null &&
(
@@ -1446,10 +1466,11 @@ class CarbonPeriod implements Iterator, Countable, JsonSerializable
$this->key = 0;
$this->current = call_user_func([$this->dateClass, 'make'], $this->startDate);
$settings = $this->getSettings();
$locale = $this->getLocalTranslator()->getLocale();
if ($locale) {
$settings['locale'] = $locale;
if ($this->hasLocalTranslator()) {
$settings['locale'] = $this->getTranslatorLocale();
}
$this->current->settings($settings);
$this->timezone = static::intervalHasTime($this->dateInterval) ? $this->current->getTimezone() : null;

View File

@@ -152,13 +152,9 @@ class CarbonTimeZone extends DateTimeZone
*/
public function toOffsetName(DateTimeInterface $date = null)
{
$minutes = floor($this->getOffset($date ?: Carbon::now($this)) / 60);
$hours = floor($minutes / 60);
$minutes = str_pad((string) (abs($minutes) % 60), 2, '0', STR_PAD_LEFT);
return ($hours < 0 ? '-' : '+').str_pad((string) abs($hours), 2, '0', STR_PAD_LEFT).":$minutes";
return static::getOffsetNameFromMinuteOffset(
$this->getOffset($date ?: Carbon::now($this)) / 60
);
}
/**
@@ -247,4 +243,46 @@ class CarbonTimeZone extends DateTimeZone
{
return static::instance($object);
}
/**
* Create a CarbonTimeZone from int/float hour offset.
*
* @param float $hourOffset number of hour of the timezone shift (can be decimal).
*
* @return false|static
*/
public static function createFromHourOffset(float $hourOffset)
{
return static::createFromMinuteOffset($hourOffset * Carbon::MINUTES_PER_HOUR);
}
/**
* Create a CarbonTimeZone from int/float minute offset.
*
* @param float $minuteOffset number of total minutes of the timezone shift.
*
* @return false|static
*/
public static function createFromMinuteOffset(float $minuteOffset)
{
return static::instance(static::getOffsetNameFromMinuteOffset($minuteOffset));
}
/**
* Convert a total minutes offset into a standardized timezone offset string.
*
* @param float $minutes number of total minutes of the timezone shift.
*
* @return string
*/
public static function getOffsetNameFromMinuteOffset(float $minutes): string
{
$minutes = round($minutes);
$unsignedMinutes = abs($minutes);
return ($minutes < 0 ? '-' : '+').
str_pad((string) floor($unsignedMinutes / 60), 2, '0', STR_PAD_LEFT).
':'.
str_pad((string) ($unsignedMinutes % 60), 2, '0', STR_PAD_LEFT);
}
}

View File

@@ -0,0 +1,95 @@
<?php
/**
* Thanks to https://github.com/flaushi for his suggestion:
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
*/
namespace Carbon\Doctrine;
use Carbon\Carbon;
use Carbon\CarbonInterface;
use DateTimeInterface;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\ConversionException;
trait CarbonType
{
protected function getCarbonClassName(): string
{
return Carbon::class;
}
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
{
$precision = $fieldDeclaration['precision'] ?: DateTimeDefaultPrecision::get();
$type = parent::getSQLDeclaration($fieldDeclaration, $platform);
if (!$precision) {
return $type;
}
if (strpos($type, '(') !== false) {
return preg_replace('/\(\d+\)/', "($precision)", $type);
}
list($before, $after) = explode(' ', "$type ");
return trim("$before($precision) $after");
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function convertToPHPValue($value, AbstractPlatform $platform)
{
if ($value === null || $value instanceof CarbonInterface) {
return $value;
}
$class = $this->getCarbonClassName();
if ($value instanceof DateTimeInterface) {
return $class::instance($value);
}
$date = $class::parse($value);
if (!$date) {
throw ConversionException::conversionFailedFormat(
$value,
$this->getName(),
'Y-m-d H:i:s.u'
);
}
return $date;
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function convertToDatabaseValue($value, AbstractPlatform $platform)
{
if ($value === null) {
return $value;
}
if ($value instanceof DateTimeInterface) {
return $value->format('Y-m-d H:i:s.u');
}
throw ConversionException::conversionFailedInvalidType(
$value,
$this->getName(),
['null', 'DateTime']
);
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function requiresSQLCommentHint(AbstractPlatform $platform)
{
return true;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/**
* Thanks to https://github.com/flaushi for his suggestion:
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
*/
namespace Carbon\Doctrine;
class DateTimeDefaultPrecision
{
private static $precision = 6;
/**
* Change the default Doctrine datetime and datetime_immutable precision.
*
* @param int $precision
*/
public static function set(int $precision): void
{
self::$precision = $precision;
}
/**
* Get the default Doctrine datetime and datetime_immutable precision.
*
* @return int
*/
public static function get(): int
{
return self::$precision;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/**
* Thanks to https://github.com/flaushi for his suggestion:
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
*/
namespace Carbon\Doctrine;
use Carbon\CarbonImmutable;
use Doctrine\DBAL\Types\VarDateTimeImmutableType;
class DateTimeImmutableType extends VarDateTimeImmutableType
{
use CarbonType;
protected function getCarbonClassName(): string
{
return CarbonImmutable::class;
}
}

View File

@@ -0,0 +1,14 @@
<?php
/**
* Thanks to https://github.com/flaushi for his suggestion:
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
*/
namespace Carbon\Doctrine;
use Doctrine\DBAL\Types\VarDateTimeType;
class DateTimeType extends VarDateTimeType
{
use CarbonType;
}

View File

@@ -0,0 +1,31 @@
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Carbon\Exceptions;
use Exception;
use InvalidArgumentException;
class NotLocaleAwareException extends InvalidArgumentException
{
/**
* Constructor.
*
* @param mixed $object
* @param int $code
* @param \Exception|null $previous
*/
public function __construct($object, $code = 0, Exception $previous = null)
{
$dump = is_object($object) ? get_class($object) : gettype($object);
parent::__construct("$dump does neither implements Symfony\Contracts\Translation\LocaleAwareInterface nor getLocale() method.", $code, $previous);
}
}

View File

@@ -63,6 +63,7 @@ use Closure;
* @method array getIsoUnits() Returns list of locale units for ISO formatting.
* @method Carbon getLastErrors() {@inheritdoc}
* @method string getLocale() Get the current translator locale.
* @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
* @method int getMidDayAt() get midday/noon hour
* @method Closure|Carbon getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
* instance is created.
@@ -73,7 +74,7 @@ use Closure;
* @method int getWeekStartsAt() Get the first day of week
* @method array getWeekendDays() Get weekend days
* @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
* @method bool hasMacro($name) Checks if macro is registered.
* @method bool hasMacro($name) Checks if macro is registered globally.
* @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
* @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
* is anything that is not null.

View File

@@ -63,6 +63,7 @@ use Closure;
* @method array getIsoUnits() Returns list of locale units for ISO formatting.
* @method CarbonImmutable getLastErrors() {@inheritdoc}
* @method string getLocale() Get the current translator locale.
* @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
* @method int getMidDayAt() get midday/noon hour
* @method Closure|CarbonImmutable getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
* instance is created.
@@ -73,7 +74,7 @@ use Closure;
* @method int getWeekStartsAt() Get the first day of week
* @method array getWeekendDays() Get weekend days
* @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
* @method bool hasMacro($name) Checks if macro is registered.
* @method bool hasMacro($name) Checks if macro is registered globally.
* @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
* @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
* is anything that is not null.

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/aa_DJ.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Ge'ez Frontier Foundation locales@geez.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Ge'ez Frontier Foundation locales@geez.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Ge'ez Frontier Foundation locales@geez.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Ge'ez Frontier Foundation locales@geez.org
*/

View File

@@ -9,15 +9,15 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - François B
* - JD Isaacks
* - Pierre du Plessis
*/
return [
'year' => ':count jaar|:count jare',
'a_year' => '\'n jaar|:count jare',
'year' => ':count jaar',
'a_year' => '\'n jaar|:count jaar',
'y' => ':count j.',
'month' => ':count maand|:count maande',
'a_month' => '\'n maand|:count maande',
@@ -28,8 +28,8 @@ return [
'day' => ':count dag|:count dae',
'a_day' => '\'n dag|:count dae',
'd' => ':count d.',
'hour' => ':count uur|:count ure',
'a_hour' => '\'n uur|:count ure',
'hour' => ':count uur',
'a_hour' => '\'n uur|:count uur',
'h' => ':count u.',
'minute' => ':count minuut|:count minute',
'a_minute' => '\'n minuut|:count minute',
@@ -41,6 +41,7 @@ return [
'from_now' => 'oor :time',
'after' => ':time na',
'before' => ':time voor',
'diff_now' => 'Nou',
'diff_yesterday' => 'Gister',
'diff_tomorrow' => 'Môre',
'formats' => [

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/agr_PE.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - somosazucar.org libc-alpha@sourceware.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/ak_GH.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Sugar Labs // OLPC sugarlabs.org libc-alpha@sourceware.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/am_ET.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Ge'ez Frontier Foundation locales@geez.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/an_ES.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Softaragones Jordi Mallach Pérez, Juan Pablo Martínez bug-glibc-locales@gnu.org, softaragones@softaragones.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/anp_IN.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - bhashaghar@googlegroups.com
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/as_IN.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Amitakhya Phukan, Red Hat bug-glibc@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/ast_ES.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Jordi Mallach jordi@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/ayc_PE.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - runasimipi.org libc-alpha@sourceware.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Pablo Saratxaga pablo@mandrakesoft.com
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Mousa Moradi mousamk@gmail.com
*/

View File

@@ -92,6 +92,9 @@ return [
'from_now' => 'праз :time',
'after' => ':time пасля',
'before' => ':time да',
'diff_now' => 'цяпер',
'diff_yesterday' => 'учора',
'diff_tomorrow' => 'заўтра',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
@@ -147,7 +150,7 @@ return [
'months' => ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'траўня', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'снежня'],
'months_standalone' => ['студзень', 'люты', 'сакавік', 'красавік', 'травень', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'снежань'],
'months_short' => ['студ', 'лют', 'сак', 'крас', 'трав', 'чэрв', 'ліп', 'жнів', 'вер', 'каст', 'ліст', 'снеж'],
'months_regexp' => '/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/',
'months_regexp' => '/(DD?o?\.?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
'weekdays' => ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацвер', 'пятніцу', 'суботу'],
'weekdays_standalone' => ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота'],
'weekdays_short' => ['нд', 'пн', 'ат', 'ср', 'чц', 'пт', 'сб'],

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/bem_ZM.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - ANLoc Martin Benjamin locales@africanlocalization.net
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/ber_DZ.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Pablo Saratxaga pablo@mandrakesoft.com
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Pablo Saratxaga pablo@mandrakesoft.com
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Josh Soref
* - François B
@@ -43,6 +43,9 @@ return [
'from_now' => 'след :time',
'after' => 'след :time',
'before' => 'преди :time',
'diff_now' => 'сега',
'diff_yesterday' => 'вчера',
'diff_tomorrow' => 'утре',
'formats' => [
'LT' => 'H:mm',
'LTS' => 'H:mm:ss',

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/bhb_IN.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Samsung Electronics Co., Ltd. alexey.merzlyakov@samsung.com
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/bho_IN.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - bhashaghar@googlegroups.com
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/bi_VU.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com & maninder1.s@samsung.com
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Josh Soref
* - Shakib Hossain

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Ankur Group, http://www.ankurbangla.org, http://www.bengalinux.org Taneem Ahmed, Jamil Ahmed taneem@bengalinux.org, jamil@bengalinux.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Josh Soref
* - JD Isaacks

View File

@@ -32,6 +32,9 @@ return [
'a_second' => '{1}un nebeud segondennoù|[0,Inf[:count eilenn',
'ago' => ':time \'zo',
'from_now' => 'a-benn :time',
'diff_now' => 'bremañ',
'diff_yesterday' => 'decʼh',
'diff_tomorrow' => 'warcʼhoazh',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/brx_IN.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Red Hat Pune bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - bokideckonja
* - Josh Soref
@@ -23,8 +23,8 @@ return [
'y' => ':count godina|:count godine|:count godina',
'month' => ':count mjesec|:count mjeseca|:count mjeseci',
'm' => ':count mjesec|:count mjeseca|:count mjeseci',
'week' => ':count nedjelja|:count nedjelje|:count nedjelja',
'w' => ':count nedjelja|:count nedjelje|:count nedjelja',
'week' => ':count sedmice|:count sedmicu|:count sedmica',
'w' => ':count sedmice|:count sedmicu|:count sedmica',
'day' => ':count dan|:count dana|:count dana',
'd' => ':count dan|:count dana|:count dana',
'hour' => ':count sat|:count sata|:count sati',
@@ -37,6 +37,7 @@ return [
'from_now' => 'za :time',
'after' => 'nakon :time',
'before' => ':time ranije',
'diff_now' => 'sada',
'diff_yesterday' => 'jučer',
'diff_tomorrow' => 'sutra',
'formats' => [

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/byn_ER.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Ge'ez Frontier Foundation locales@geez.org
*/

View File

@@ -97,8 +97,9 @@ return [
},
'months' => ['de gener', 'de febrer', 'de març', 'd\'abril', 'de maig', 'de juny', 'de juliol', 'd\'agost', 'de setembre', 'd\'octubre', 'de novembre', 'de desembre'],
'months_standalone' => ['gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', 'novembre', 'desembre'],
'months_short' => ['gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.'],
'months_regexp' => '/D[oD]?[\s,]+MMMM?/',
'months_short' => ['de gen.', 'de febr.', 'de març', 'd\'abr.', 'de maig', 'de juny', 'de jul.', 'd\'ag.', 'de set.', 'd\'oct.', 'de nov.', 'de des.'],
'months_short_standalone' => ['gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.'],
'months_regexp' => '/(D[oD]?[\s,]+MMMM?|L{2,4}|l{2,4})/',
'weekdays' => ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'],
'weekdays_short' => ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'],
'weekdays_min' => ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'],
@@ -106,5 +107,4 @@ return [
'day_of_first_week_of_year' => 4,
'list' => [', ', ' i '],
'meridiem' => ['a. m.', 'p. m.'],
'months_short_standalone' => ['gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.'],
];

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/ce_RU.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - ANCHR
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/chr_US.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Cherokee Nation Joseph Erb josepherb7@gmail.com
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/cmn_TW.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/crh_UA.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Reşat SABIQ tilde.birlik@gmail.com
*/

View File

@@ -74,6 +74,27 @@ return [
'second' => ':count sekunda|:count sekundy|:count sekund',
's' => ':count sek.',
'a_second' => 'pár sekund|:count sekundy|:count sekund',
'month_ago' => ':count měsícem|:count měsíci|:count měsíci',
'a_month_ago' => 'měsícem|:count měsíci|:count měsíci',
'day_ago' => ':count dnem|:count dny|:count dny',
'a_day_ago' => 'dnem|:count dny|:count dny',
'week_ago' => ':count týdnem|:count týdny|:count týdny',
'a_week_ago' => 'týdnem|:count týdny|:count týdny',
'year_ago' => ':count rokem|:count roky|:count lety',
'y_ago' => ':count rok.|:count rok.|:count let.',
'a_year_ago' => 'rokem|:count roky|:count lety',
'month_before' => ':count měsícem|:count měsíci|:count měsíci',
'a_month_before' => 'měsícem|:count měsíci|:count měsíci',
'day_before' => ':count dnem|:count dny|:count dny',
'a_day_before' => 'dnem|:count dny|:count dny',
'week_before' => ':count týdnem|:count týdny|:count týdny',
'a_week_before' => 'týdnem|:count týdny|:count týdny',
'year_before' => ':count rokem|:count roky|:count lety',
'y_before' => ':count rok.|:count rok.|:count let.',
'a_year_before' => 'rokem|:count roky|:count lety',
'ago' => $pred,
'from_now' => $za,
'before' => $pred,
@@ -86,6 +107,9 @@ return [
'weekdays_short' => ['ned', 'pon', 'úte', 'stř', 'čtv', 'pát', 'sob'],
'weekdays_min' => ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
'list' => [', ', ' a '],
'diff_now' => 'nyní',
'diff_yesterday' => 'včera',
'diff_tomorrow' => 'zítra',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/csb_PL.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - csb_PL locale Michal Ostrowski bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - François B
* - JD Isaacks
@@ -34,8 +34,9 @@ return [
'from_now' => 'mewn :time',
'after' => ':time ar ôl',
'before' => ':time o\'r blaen',
'diff_yesterday' => 'Ddoe',
'diff_tomorrow' => 'Yfory',
'diff_now' => 'nawr',
'diff_yesterday' => 'ddoe',
'diff_tomorrow' => 'yfory',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Rune Mønnike
* - François B
@@ -45,6 +45,9 @@ return [
'from_now' => 'om :time',
'after' => ':time efter',
'before' => ':time før',
'diff_now' => 'nu',
'diff_yesterday' => 'i går',
'diff_tomorrow' => 'i morgen',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',

View File

@@ -16,6 +16,7 @@
* - dennisoderwald
* - Timo
* - Karag2006
* - Pete Scopes (pdscopes)
*/
return [
'year' => ':count Jahr|:count Jahre',
@@ -39,6 +40,9 @@ return [
'second' => ':count Sekunde|:count Sekunden',
'a_second' => 'ein paar Sekunden|:count Sekunden',
's' => ':count Sek.',
'millisecond' => ':count Millisekunde|:count Millisekunde',
'a_millisecond' => 'eine Millisekunde|:count Millisekunde',
'ms' => ':countms',
'ago' => 'vor :time',
'from_now' => 'in :time',
'after' => ':time später',
@@ -52,10 +56,18 @@ return [
'month_ago' => ':count Monat|:count Monaten',
'week_ago' => ':count Woche|:count Wochen',
'day_ago' => ':count Tag|:count Tagen',
'a_year_from_now' => 'ein Jahr|:count Jahren',
'a_month_from_now' => 'ein Monat|:count Monaten',
'a_week_from_now' => 'eine Woche|:count Wochen',
'a_day_from_now' => 'ein Tag|:count Tagen',
'a_year_ago' => 'ein Jahr|:count Jahren',
'a_month_ago' => 'ein Monat|:count Monaten',
'a_week_ago' => 'eine Woche|:count Wochen',
'a_day_ago' => 'ein Tag|:count Tagen',
'diff_now' => 'Gerade eben',
'diff_yesterday' => 'Gestern',
'diff_tomorrow' => 'Heute',
'diff_tomorrow' => 'Morgen',
'diff_before_yesterday' => 'Vorgestern',
'diff_after_tomorrow' => 'Übermorgen',

View File

@@ -15,5 +15,13 @@
* - Timo
* - Michael Hohl
* - Namoshek
* - Bernhard Baumrock (BernhardBaumrock)
*/
return require __DIR__.'/de.php';
return array_replace_recursive(require __DIR__.'/de.php', [
'months' => [
0 => 'Jänner',
],
'months_short' => [
0 => 'Jän',
],
]);

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - RAP bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Free Software Foundation, Inc. bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Matthias Dieter Wallno:fer libc-locales@sourceware.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - RAP bug-glibc-locales@gnu.org
*/

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/doi_IN.php';

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
/**
/*
* Authors:
* - Red Hat Pune libc-alpha@sourceware.org
*/

Some files were not shown because too many files have changed in this diff Show More