Created
March 27, 2019 11:19
-
-
Save Frederikos/1c988ee4e24f1c848fc132d5128b5089 to your computer and use it in GitHub Desktop.
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
@BindingConversion | |
public static String convertDateToDisplayedText(Date date) { | |
return new SimpleDateFormat("yyyy:MM:dd").format(date); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment