Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-Date-format-of-build-in-Stag…
Browse files Browse the repository at this point in the history
…eView' into fix-Date-format-of-build-in-StageView
  • Loading branch information
DeepData-Diver committed Sep 6, 2024
2 parents 9501a68 + 3ec88ad commit d28bfa1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ui/src/main/js/view/templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ registerHBSHelper('formatDate', function (date, toFormat) {
if (toFormat == 'time') {
return theDate.toLocaleTimeString(userLocale, {hour: '2-digit',minute: '2-digit', hour12: false });
}
// New case for 'year'
if (toFormat == 'year') {
return theDate.toLocaleDateString(userLocale, {year: 'numeric'});
}
Expand Down

0 comments on commit d28bfa1

Please sign in to comment.