1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

Merge pull request #30 from Roeland54/development

Fixed the displayed firmware-date in the firmware flasher.
This commit is contained in:
Dominic Clifton 2015-01-03 01:05:47 +00:00
commit fe64fb3628

View file

@ -53,9 +53,9 @@ TABS.firmware_flasher.initialize = function (callback) {
var date = new Date(release.published_at);
var formattedDate = "{0}-{1}-{2} {3}:{4}".format(
date.getFullYear(),
date.getMonth(),
date.getDay(),
date.getHours(),
date.getMonth() + 1,
date.getDate(),
date.getUTCHours(),
date.getMinutes()
);