Changed formatDate to formatTime
diff --git a/js/build_page.js b/js/build_page.js
index 3b2745f..0736ce2 100644
--- a/js/build_page.js
+++ b/js/build_page.js
@@ -119,8 +119,8 @@
});
for (var [i, classe] of classes.entries()) {
- var hora_inici = formatDate(new Date(parseInt(classe.begins)*1000));
- var hora_final = formatDate(new Date(parseInt(classe.ends)*1000));
+ var hora_inici = formatTime(new Date(parseInt(classe.begins)*1000));
+ var hora_final = formatTime(new Date(parseInt(classe.ends)*1000));
var classeDiv = document.createElement('div');
// Check if the subject is repeated