Skip to content

Commit da1bbcf

Browse files
authored
Support Azerbaijani language (coduo#120)
1 parent c86d182 commit da1bbcf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/Coduo/PHPHumanizer/Tests/DateTimeHumanizerTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,16 @@ public function humanizeDataProvider()
270270
public function preciseDifferenceDataProvider()
271271
{
272272
return [
273+
// Azerbaijani
274+
['2014-04-26 13:00:00', '2014-04-26 12:58:15', '1 dəqiqə, 45 saniyə əvvəl', 'az'],
275+
['2014-04-26 13:00:00', '2014-04-26 11:20:00', '1 saat, 40 dəqiqə əvvəl', 'az'],
276+
['2014-04-26 13:00:00', '2014-04-27 13:15:00', '1 gün, 15 dəqiqə sonra', 'az'],
277+
['2014-04-26 13:00:00', '2014-05-03 15:00:00', '7 gün, 2 saat sonra', 'az'],
278+
['2014-04-26 13:00:00', '2015-04-28 17:00:00', '1 il, 2 gün, 4 saat sonra', 'az'],
279+
['2014-04-26 13:00:00', '2014-04-28 23:00:00', '2 gün, 10 saat sonra', 'az'],
280+
['2014-04-26 13:00:00', '2014-04-25 11:20:00', '1 gün, 1 saat, 40 dəqiqə əvvəl', 'az'],
281+
['2014-04-26 13:00:00', '2016-04-27 13:00:00', '2 il, 1 gün sonra', 'az'],
282+
273283
// English
274284
['2014-04-26 13:00:00', '2014-04-26 12:58:15', '1 minute, 45 seconds ago', 'en'],
275285
['2014-04-26 13:00:00', '2014-04-26 11:20:00', '1 hour, 40 minutes ago', 'en'],

0 commit comments

Comments
 (0)