Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SrLatnMeTest.php #2735

Merged
merged 1 commit into from
Jan 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions tests/Localization/SrLatnMeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->subSeconds(2)->diffForHumans()
// '2 seconds ago'
'prije 2 sekund',
'prije 2 sekunde',

// Carbon::now()->subSeconds(2)->diffForHumans(null, false, true)
// '2s ago'
Expand All @@ -251,7 +251,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->subMinutes(2)->diffForHumans()
// '2 minutes ago'
'prije 2 minut',
'prije 2 minuta',

// Carbon::now()->subMinutes(2)->diffForHumans(null, false, true)
// '2m ago'
Expand All @@ -267,7 +267,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->subHours(2)->diffForHumans()
// '2 hours ago'
'prije 2 sat',
'prije 2 sata',

// Carbon::now()->subHours(2)->diffForHumans(null, false, true)
// '2h ago'
Expand All @@ -283,7 +283,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->subDays(2)->diffForHumans()
// '2 days ago'
'prije 2 dan',
'prije 2 dana',

// Carbon::now()->subDays(2)->diffForHumans(null, false, true)
// '2d ago'
Expand All @@ -299,7 +299,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->subWeeks(2)->diffForHumans()
// '2 weeks ago'
'prije 2 nedjelju',
'prije 2 nedjelje',

// Carbon::now()->subWeeks(2)->diffForHumans(null, false, true)
// '2w ago'
Expand All @@ -315,7 +315,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->subMonths(2)->diffForHumans()
// '2 months ago'
'prije 2 mjesec',
'prije 2 mjeseca',

// Carbon::now()->subMonths(2)->diffForHumans(null, false, true)
// '2mos ago'
Expand All @@ -331,7 +331,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->subYears(2)->diffForHumans()
// '2 years ago'
'prije 2 godinu',
'prije 2 godine',

// Carbon::now()->subYears(2)->diffForHumans(null, false, true)
// '2yrs ago'
Expand Down Expand Up @@ -371,7 +371,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->diffForHumans(Carbon::now()->addSecond()->addSecond(), true)
// '2 seconds'
'2 sekund',
'2 sekunde',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond()->addSecond(), true, true)
// '2s'
Expand All @@ -391,7 +391,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->addYears(3)->diffForHumans(null, null, false, 4)
// '3 years from now'
'za 3 godinu',
'za 3 godine',

// Carbon::now()->subMonths(5)->diffForHumans(null, null, true, 4)
// '5mos ago'
Expand All @@ -403,7 +403,7 @@ class SrLatnMeTest extends LocalizationTestCase

// Carbon::now()->addWeek()->addHours(10)->diffForHumans(null, true, false, 2)
// '1 week 10 hours'
'1 nedjelja 10 sat',
'1 nedjelja 10 sati',

// Carbon::now()->addWeek()->addDays(6)->diffForHumans(null, true, false, 2)
// '1 week 6 days'
Expand All @@ -427,7 +427,7 @@ class SrLatnMeTest extends LocalizationTestCase

// CarbonInterval::days(2)->forHumans()
// '2 days'
'2 dan',
'2 dana',

// CarbonInterval::create('P1DT3H')->forHumans(true)
// '1d 3h'
Expand Down