diff --git a/changelog.html b/changelog.html index cc04c771..4c0e544d 100644 --- a/changelog.html +++ b/changelog.html @@ -1,4 +1,4 @@ -xx.xx.2014 - 0.57 +2014.xx.xx - 0.57
- Firmware flasher now contains firmware builds picker
- Implemented new and experimental review mechanism
diff --git a/tabs/firmware_flasher.js b/tabs/firmware_flasher.js
index 262499fe..55734667 100644
--- a/tabs/firmware_flasher.js
+++ b/tabs/firmware_flasher.js
@@ -58,7 +58,7 @@ TABS.firmware_flasher.initialize = function (callback) {
// populate select
for (var i = 0; i < releases.length; i++) {
d = new Date(releases[i].time * 1000);
- date = ('0' + (d.getDate())).slice(-2) + '.' + ('0' + (d.getMonth() + 1)).slice(-2) + '.' + d.getFullYear();
+ date = d.getFullYear() + '.' + ('0' + (d.getMonth() + 1)).slice(-2) + '.' + ('0' + (d.getDate())).slice(-2);
date += ' - ' + ('0' + d.getHours()).slice(-2) + ':' + ('0' + d.getMinutes()).slice(-2);
var element = $('').data('obj', releases[i]);
@@ -152,7 +152,7 @@ TABS.firmware_flasher.initialize = function (callback) {
offset = d.getTimezoneOffset() / 60,
date;
- date = ('0' + (d.getDate())).slice(-2) + '.' + ('0' + (d.getMonth() + 1)).slice(-2) + '.' + d.getFullYear();
+ date = d.getFullYear() + '.' + ('0' + (d.getMonth() + 1)).slice(-2) + '.' + ('0' + (d.getDate())).slice(-2);
date += ' @ ' + ('0' + d.getHours()).slice(-2) + ':' + ('0' + d.getMinutes()).slice(-2);
date += (offset > 0) ? ' GMT+' + offset : ' GMT' + offset;