Skip to content

Commit

Permalink
Merge pull request #2463 from bakdata/fix/formconfig_without_date
Browse files Browse the repository at this point in the history
remove datetime from default form label
  • Loading branch information
thoniTUB authored Apr 28, 2022
2 parents 328103d + c5b1c2f commit 14d9109
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,7 @@ protected void setAdditionalFieldsForStatusWithColumnDescription(@NonNull MetaSt

@Override
protected String makeDefaultLabel(PrintSettings cfg) {
return getSubmittedForm().getLocalizedTypeLabel()
+ " "
+ getCreationTime().atZone(ZoneId.systemDefault())
.format(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.SHORT).withLocale(I18n.LOCALE.get()));
return getSubmittedForm().getLocalizedTypeLabel();
}

}

0 comments on commit 14d9109

Please sign in to comment.