Skip to content

Commit

Permalink
Merge pull request #177 from AI-READI/staging
Browse files Browse the repository at this point in the history
fix: use differnt import style
  • Loading branch information
ejdysinger authored Jan 14, 2025
2 parents 2ce5f6c + ffdfeaa commit 19cc5da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/datasets/[datasetid]/access/request/[requestid].vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import hljs from "highlight.js/lib/core";
import powershell from "highlight.js/lib/languages/powershell";
import { unix } from "dayjs";
import dayjs from "dayjs";
definePageMeta({
middleware: ["auth"],
Expand All @@ -27,7 +27,7 @@ const dataReady = request.status === "READY";
const isExpired = request.status === "EXPIRED";
const expiresAt = request.expires_at
? unix(request.expires_at).format("MMM D, YYYY HH:mm Z")
? dayjs.unix(request.expires_at).format("MMM D, YYYY HH:mm Z")
: null;
const requestSasUri = request.download_uri;
Expand Down

0 comments on commit 19cc5da

Please sign in to comment.