Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Aug 12, 2018
1 parent f8034a3 commit 0c678a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scripts/services/ariaNgCommonService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/services/ariaNgMonitorService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 0c678a1

Please sign in to comment.