Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Angamanga authored and tuxpiper committed Oct 8, 2021
1 parent 0ec0499 commit 1a83a85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/settings/datasources/datasources.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = [
'$location',
'$translate',
'$window',
'moment',
'dayjs',
'Util',
'ConfigEndpoint',
'DataProviderEndpoint',
Expand All @@ -24,7 +24,7 @@ function (
$location,
$translate,
$window,
moment,
dayjs,
Util,
ConfigEndpoint,
DataProviderEndpoint,
Expand Down Expand Up @@ -263,7 +263,7 @@ function (
$scope.setSelectedForm(form, name);
}
if (provider.date) {
$scope.settings[name].date = moment(provider.date).toDate();
$scope.settings[name].date = dayjs(provider.date).toDate();
}
});
// Keep track of providers with saved settings
Expand Down

0 comments on commit 1a83a85

Please sign in to comment.