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:
@@ -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()
|
||||
|
@@ -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'
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user