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

Style/date format in french #1173

Merged
merged 11 commits into from
Dec 23, 2024
Merged

Style/date format in french #1173

merged 11 commits into from
Dec 23, 2024

Conversation

RemiVerriez
Copy link
Contributor

@RemiVerriez RemiVerriez commented Dec 11, 2024

  • Ajustement des contrôles pour que le format des dates dans les messages aux utilisateurs soit français/européen : "DD/MM/AAAA" au lieu de "AAAA-MM-DD". Le contrôle en lui-même demeure au format "AAAA-MM-DD".

  • Renforcement des exceptions et warnings concernant le format d'entrée des dates min et max : les formats différents de AAAA, AAAA-MM, ou AAAA-MM-JJ ne sont pas considérés. La date est alors ignorée et un "null" est retourné.

@RemiVerriez RemiVerriez requested a review from nsenave December 11, 2024 14:59
@RemiVerriez RemiVerriez added the deploy-snapshot To be used in PR to trigger snapshot deploy pipeline label Dec 12, 2024
Copy link

👋 Version 3.30.1-SNAPSHOT deployed on docker hub

@github-actions github-actions bot removed the deploy-snapshot To be used in PR to trigger snapshot deploy pipeline label Dec 12, 2024
@RemiVerriez RemiVerriez added the deploy-snapshot To be used in PR to trigger snapshot deploy pipeline label Dec 12, 2024
@RemiVerriez RemiVerriez added deploy-snapshot To be used in PR to trigger snapshot deploy pipeline and removed deploy-snapshot To be used in PR to trigger snapshot deploy pipeline labels Dec 12, 2024
Copy link

👋 Version 3.30.1-SNAPSHOT.1 deployed on docker hub

@github-actions github-actions bot removed the deploy-snapshot To be used in PR to trigger snapshot deploy pipeline label Dec 12, 2024
Copy link
Contributor

@nsenave nsenave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -158,39 +162,87 @@ private void createFormatControlsForDatepicker(Datepicker datepicker) {
// of the first control is displayed.
}

private static final Logger logger = LoggerFactory.getLogger(LunaticAddControlFormat.class);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pas besoin de créer un logger il y en avait déjà un dans la classe avec l'annotation lombok @Slf4j

nsenave and others added 3 commits December 18, 2024 16:00
* refactor: dates validation and formatting

* chore: modifier and typos

* refactor: inner class factory and result to record

* refactor: oopsies

* test: unit test for iso 8601 formatter

* refactor: optional instead of null

* chore: fix typo in javadoc

* refactor: compile year pattern only once
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
6.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@nsenave nsenave added the deploy-snapshot To be used in PR to trigger snapshot deploy pipeline label Dec 20, 2024
Copy link

👋 Version 3.31.1-SNAPSHOT deployed on docker hub

@github-actions github-actions bot removed the deploy-snapshot To be used in PR to trigger snapshot deploy pipeline label Dec 20, 2024
@nsenave nsenave merged commit 691305d into v3-main Dec 23, 2024
@nsenave nsenave deleted the style/date-format-in-French branch December 23, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants