-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-72653] fix timezone handling (#301)
* [JENKINS-72653] improve time zone handling * [JENKINS-72653] fix timezone handling the implementation to prefill the scheduled time with the global value was not working properly, when the timezone of the controller was different from the timezone that was configured. The implementation used java.util.Date which has only limited capabilites to work with timeszones. This change replaces all date/time handling with new classes from the java.time packages. The timezone is no longer a free text field but a dropdown that gets filled with all available zone ids. The datetime field to schedule a build is no longer locale dependent but uses a fixed format based on 24h format (see [JENKINS-72645]). It is optional to enter seconds. The actual timezone that will be used is shown as field description. The time input on global config allows to specify am/pm but also 24h formats, seconds are optional. * fix security alerts * update pics and readme * fix typo * allow system_read in doCHeck and doFill * apply spotless * fix checkurl * fix merge error * fix help url * allow AM/PM * Format with spotless --------- Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
- Loading branch information
1 parent
56f3e51
commit a2b4f85
Showing
17 changed files
with
294 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.