diff --git a/src/main/java/org/springframework/samples/yogogym/web/TrainingController.java b/src/main/java/org/springframework/samples/yogogym/web/TrainingController.java
index cf5ea6ba..886e5f3e 100644
--- a/src/main/java/org/springframework/samples/yogogym/web/TrainingController.java
+++ b/src/main/java/org/springframework/samples/yogogym/web/TrainingController.java
@@ -395,6 +395,13 @@ public String getTrainingDetails(@PathVariable("clientUsername") String clientUs
Training training = this.trainingService.findTrainingById(trainingId);
Client client = this.clientService.findClientByUsername(clientUsername);
+ Calendar now = Calendar.getInstance();
+ Date date = now.getTime();
+ SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss.SSS");
+ String actualDate = dateFormat.format(date);
+
+ model.addAttribute("actualDate", actualDate);
+
model.addAttribute(TRAINING,training);
model.addAttribute(CLIENT,client);
diff --git a/src/main/webapp/WEB-INF/jsp/client/trainings/trainingsDetails.jsp b/src/main/webapp/WEB-INF/jsp/client/trainings/trainingsDetails.jsp
index 4e0f5d4a..00ab5f13 100644
--- a/src/main/webapp/WEB-INF/jsp/client/trainings/trainingsDetails.jsp
+++ b/src/main/webapp/WEB-INF/jsp/client/trainings/trainingsDetails.jsp
@@ -65,10 +65,17 @@
-
-
-
@@ -76,14 +83,41 @@
Edit |