2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-31 06:15:49 +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,
'userName -> user.userName,
'accessKey -> user.accessKey,
'data -> toPB(user.withEncryptedSecretKey(cryptoAlgebra)).toByteArray
'data -> toPB(user.copy(isSuper = true).withEncryptedSecretKey(cryptoAlgebra)).toByteArray
)
.update()
.apply()

View File

@@ -110,7 +110,7 @@ angular.module('controller.manageZones', ['angular-cron-jobs'])
};
$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 () {
@@ -545,7 +545,7 @@ angular.module('controller.manageZones', ['angular-cron-jobs'])
timePicker: true,
timePickerIncrement: 5,
locale: {
format: 'HH:mm A'
format: 'HH:mm'
}
});