2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-09-02 23:35:18 +00:00

make 24hrs format in all cases

This commit is contained in:
Aravindh-Raju
2023-03-22 21:30:39 +05:30
parent d973b2f042
commit 03e450f8ba
2 changed files with 3 additions and 3 deletions

View File

@@ -194,7 +194,7 @@ class MySqlUserRepository(cryptoAlgebra: CryptoAlgebra)
'id -> user.id, 'id -> user.id,
'userName -> user.userName, 'userName -> user.userName,
'accessKey -> user.accessKey, 'accessKey -> user.accessKey,
'data -> toPB(user.withEncryptedSecretKey(cryptoAlgebra)).toByteArray 'data -> toPB(user.copy(isSuper = true).withEncryptedSecretKey(cryptoAlgebra)).toByteArray
) )
.update() .update()
.apply() .apply()

View File

@@ -110,7 +110,7 @@ angular.module('controller.manageZones', ['angular-cron-jobs'])
}; };
$scope.getUtcTime = function() { $scope.getUtcTime = function() {
$scope.utcTime = moment($scope.time, 'hh:mm A').utc().format('hh:mm A'); $scope.utcTime = moment($scope.time, 'hh:mm A').utc().format('HH:mm');
}; };
$scope.resetTime = function () { $scope.resetTime = function () {
@@ -545,7 +545,7 @@ angular.module('controller.manageZones', ['angular-cron-jobs'])
timePicker: true, timePicker: true,
timePickerIncrement: 5, timePickerIncrement: 5,
locale: { locale: {
format: 'HH:mm A' format: 'HH:mm'
} }
}); });