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:
commit
fe64fb3628
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue