This commit is contained in:
MaysWind 2018-08-12 19:33:59 +08:00
parent f8034a30a0
commit 0c678a18eb
2 changed files with 2 additions and 2 deletions

View file

@ -227,7 +227,7 @@
getCurrentUnixTime: function () {
return moment().format('X');
},
getLongTimeFronUnixTime: function (unixTime) {
getLongTimeFromUnixTime: function (unixTime) {
return moment(unixTime, 'X').format('HH:mm:ss');
},
getTimeOptions: function (timeList, withDisabled) {

View file

@ -32,7 +32,7 @@
return '<div>' + $translate.instant('No Data') + '</div>';
}
var time = ariaNgCommonService.getLongTimeFronUnixTime(params[0].name);
var time = ariaNgCommonService.getLongTimeFromUnixTime(params[0].name);
var uploadSpeed = $filter('readableVolume')(params[0].value) + '/s';
var downloadSpeed = $filter('readableVolume')(params[1].value) + '/s';