cis498-g4 / GuestBook

Guest book and feedback system for events
1 stars 1 forks source link

Do datetime formatting in servlets not JSPs #7

Open mikemolenda opened 7 years ago

mikemolenda commented 7 years ago

Several JSPs have long, convoluted datetime formatter statements. Instead of doing this, format the date in the controller with DateTimeFormat.ofPattern("...") and pass a new attribute called startDateTime, eventDate, etc. etc.

mikemolenda commented 7 years ago

Note this may not always be practical, e.g. if the event is part of a list