Skip to content

Commit

Permalink
Update dayjs
Browse files Browse the repository at this point in the history
  • Loading branch information
J053Fabi0 committed Aug 8, 2023
1 parent 2a342da commit 1100647
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
31 changes: 16 additions & 15 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,30 @@
"jsxImportSource": "preact"
},
"imports": {
"std/": "https://deno.land/[email protected]/",
"grammy/": "https://deno.land/x/[email protected]/",
"sleep": "https://deno.land/x/[email protected]/mod.ts",
"mongo": "https://deno.land/x/[email protected]/mod.ts",
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"$fresh/": "https://deno.land/x/[email protected]/",
"bcrypt": "https://deno.land/x/[email protected]/mod.ts",
"shuffle": "https://deno.land/x/[email protected]/mod.ts",
"web_bson": "https://deno.land/x/[email protected]/mod.js",
"croner": "https://deno.land/x/[email protected]/dist/croner.js",
"lodash": "https://deno.land/x/[email protected]/mod.ts",
"dayjs/": "https://deno.land/x/[email protected]/",
"duplicatedFilesCleaner": "https://deno.land/x/[email protected]/mod.ts",
"escape_html": "https://deno.land/x/[email protected]/mod.ts",
"fresh-session/": "https://deno.land/x/[email protected]/",
"duplicatedFilesCleaner": "https://deno.land/x/[email protected]/mod.ts",
"grammy/": "https://deno.land/x/[email protected]/",
"lodash": "https://deno.land/x/[email protected]/mod.ts",
"mongo": "https://deno.land/x/[email protected]/mod.ts",
"preact-render-to-string": "https://esm.sh/*[email protected]/",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"react-icons/ai": "https://cdn.jsdelivr.net/gh/urielch/[email protected]/mod.ts",
"react-icons/bs": "https://cdn.jsdelivr.net/gh/urielch/[email protected]/mod.ts",
"react-icons/fi": "https://cdn.jsdelivr.net/gh/urielch/[email protected]/mod.ts",
"twind/": "https://esm.sh/[email protected]/",
"shuffle": "https://deno.land/x/[email protected]/mod.ts",
"sleep": "https://deno.land/x/[email protected]/mod.ts",
"std/": "https://deno.land/[email protected]/",
"twind": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"preact": "https://esm.sh/[email protected]",
"$fresh/": "https://deno.land/x/[email protected]/",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"preact-render-to-string": "https://esm.sh/*[email protected]/"
"twind/": "https://esm.sh/[email protected]/",
"web_bson": "https://deno.land/x/[email protected]/mod.js"
},
"lint": {
"rules": {
Expand Down
4 changes: 2 additions & 2 deletions islands/LastSentTime.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dayjs from "https://deno.land/x/[email protected]/mod.ts";
import relativeTime from "https://deno.land/x/[email protected]/plugin/relativeTime.ts";
import dayjs from "dayjs/mod.ts";
import relativeTime from "dayjs/plugin/relativeTime.ts";
dayjs.extend(relativeTime);

interface LastSentTimeProps {
Expand Down

0 comments on commit 1100647

Please sign in to comment.