Skip to content

Commit

Permalink
⚡ features: fix ordinalSuffix to English Date Value in np locale.
Browse files Browse the repository at this point in the history
  • Loading branch information
anuzpandey committed Nov 18, 2023
1 parent 71b76ee commit 4ac6cb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Traits/HelperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public function getFormattedString(string $format, array $formatData, string $lo

if (array_key_exists($char, $formatData)) {
if ($locale === 'np') {
if ($char === 'S') continue;
$formattedString .= $formatData[$char];
} else {
if ($char === 'S') {
Expand Down

0 comments on commit 4ac6cb5

Please sign in to comment.