Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
BrunoQuaresma committed May 24, 2025
commit 00cf1ab27d94319be65afe9c529cb58ce3b6e5f5
2 changes: 2 additions & 0 deletions site/e2e/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import { API, type DeploymentConfig } from "api/api";
import type { SerpentOption } from "api/typesGenerated";
import dayjs from "dayjs";
import duration from "dayjs/plugin/duration";
import relativeTime from "dayjs/plugin/relativeTime";

dayjs.extend(duration);
dayjs.extend(relativeTime);
import { coderPort, defaultPassword } from "./constants";
import { type LoginOptions, findSessionToken, randomName } from "./helpers";

Expand Down
2 changes: 1 addition & 1 deletion site/src/components/Timeline/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const createDisplayDate = (
return dayjs(date).calendar(dayjs(base), {
sameDay: "[Today]",
lastDay: "[Yesterday]",
lastWeek: "dddd",
lastWeek: "[last] dddd",
sameElse: "MM/DD/YYYY",
});
}
Expand Down
Loading