diff --git a/src/assets/js/working_plan.js b/src/assets/js/working_plan.js
index 77b7d794..7e1175f0 100644
--- a/src/assets/js/working_plan.js
+++ b/src/assets/js/working_plan.js
@@ -48,8 +48,8 @@
$.each(workingPlan, function(index, workingDay) {
if (workingDay != null) {
$('#' + index).prop('checked', true);
- $('#' + index + '-start').val(workingDay.start);
- $('#' + index + '-end').val(workingDay.end);
+ $('#' + index + '-start').val(Date.parse(workingDay.start).toString('h:mm tt').toUpperCase());
+ $('#' + index + '-end').val(Date.parse(workingDay.end).toString('h:mm tt').toUpperCase());
// Add the day's breaks on the breaks table.
$.each(workingDay.breaks, function(i, brk) {
@@ -58,8 +58,8 @@
var tr =
'
' +
'' + GeneralFunctions.ucaseFirstLetter(day) + ' | ' +
- '' + brk.start + ' | ' +
- '' + brk.end + ' | ' +
+ '' + Date.parse(brk.start).toString('h:mm tt').toUpperCase() + ' | ' +
+ '' + Date.parse(brk.end).toString('h:mm tt').toUpperCase() + ' | ' +
'' +
' |