Skip to content

Commit

Permalink
remove time from license expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
rudream committed Sep 25, 2024
1 parent bbb512f commit b6843be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/packages/teleport/src/services/clusters/makeCluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import { displayDateTime } from 'shared/services/loc';
import { displayDate, displayDateTime } from 'shared/services/loc';

import cfg from 'teleport/config';

Expand All @@ -38,7 +38,7 @@ export function makeCluster(json): Cluster {

let licenseExpiryDateText;
if (licenseExpiry) {
licenseExpiryDateText = displayDateTime(new Date(licenseExpiry));
licenseExpiryDateText = displayDate(new Date(licenseExpiry));
}

return {
Expand Down

0 comments on commit b6843be

Please sign in to comment.