Skip to content

Commit

Permalink
Convert locale to use - instead of _ from symfony
Browse files Browse the repository at this point in the history
  • Loading branch information
toooni authored and VincentLanglet committed Sep 29, 2023
1 parent 4e5ed65 commit 79fcf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/BasePickerType.php
Expand Up @@ -253,7 +253,7 @@ protected function getCommonDatepickerDefaults(): array
'theme' => 'light',
],
'localization' => [
'locale' => $this->locale,
'locale' => str_replace('_', '-', $this->locale),
],
];
}
Expand Down

0 comments on commit 79fcf63

Please sign in to comment.