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