Skip to content

Commit

Permalink
Merge branch 'release/1.7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Culka committed Mar 26, 2024
2 parents 74b2bc9 + f957552 commit 1c16ba9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "trexima/cv",
"description": "Bundle provides form for creating CV in european format.",
"type": "symfony-bundle",
"version": "1.7.1",
"version": "1.7.2",
"license": "MIT",
"keywords": ["cv"],
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/Form/Type/EuropeanCVCertificateType.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
],
'endYear' => [
'label' => t('trexima_european_cv.form_label.certificate_end_label', [], 'trexima_european_cv'),
'choices' => [t('trexima_european_cv.form_label.certificate_no_end_date', [], 'trexima_european_cv')->trans($this->translator) => -1] + array_reverse(array_combine(range(date('Y')-100, date('Y')), range(date('Y')-100, date('Y'))), true),
'choices' => [t('trexima_european_cv.form_label.certificate_no_end_date', [], 'trexima_european_cv')->trans($this->translator) => -1] + array_reverse(array_combine(range(date('Y')-100, date('Y')+20), range(date('Y')-100, date('Y')+20)), true),
'attr' => [
'data-trexima-european-cv-dynamic-collection-sort-by' => 1,
'data-controller' => 'ui--select2',
Expand Down

0 comments on commit 1c16ba9

Please sign in to comment.