Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import moment from "moment";

// Utils
import { MomentUnionType } from "utils/types/types";
import { FormatDate } from "utils/functions/FormatDate";
import { formatDate } from "utils/functions/FormatDate";

export const Children: React.FC<{
type: string;
Expand All @@ -19,7 +19,7 @@ export const Children: React.FC<{
case type === "monthInDays":
return (
<VStack>
<FormatDate date={date} type="Month" />
<>{formatDate({ date: date, type: "Month" })}</>
{/* <Text fontSize="10" fontWeight="300">
{t("THIS_MONTH")}
</Text> */}
Expand All @@ -28,7 +28,7 @@ export const Children: React.FC<{
case type === "week":
return (
<VStack>
<FormatDate date={date} type="Week" />
<>{formatDate({ date, type: "Week" })}</>
<Caption>{t("THIS_WEEK")}</Caption>
</VStack>
);
Expand All @@ -46,7 +46,7 @@ export const Children: React.FC<{
moment(date).format("dddd")}
</H2>
<Caption>
<FormatDate date={date} />
<>{formatDate({ date: date })}</>
</Caption>
</VStack>
);
Expand Down
283 changes: 0 additions & 283 deletions packages/attendance/src/components/ReportSummary.js

This file was deleted.

Loading