|
@@ -1,7 +1,7 @@
|
|
|
"use client";
|
|
|
import { CashbackTypes } from "@/api/cashback";
|
|
|
import { server } from "@/utils/client";
|
|
|
-import { timeFormat } from "@/utils/methods";
|
|
|
+import { brTimeFormat } from "@/utils/methods";
|
|
|
import { Toast } from "antd-mobile";
|
|
|
import { useAnimate } from "framer-motion";
|
|
|
import { useTranslations } from "next-intl";
|
|
@@ -50,8 +50,8 @@ const Extract = (props: Props) => {
|
|
|
<div className={`${styles.timelineMarker} before:bg-[#fbc110]`}></div>
|
|
|
<div className={styles.timelineContent}>
|
|
|
<span className={"text-[0.12rem] text-[#6c6c6c]"}>
|
|
|
- {timeFormat(cashbackInfo.last_period.start_time, local)} ~{" "}
|
|
|
- {timeFormat(cashbackInfo.last_period.end_time, local)}
|
|
|
+ {brTimeFormat(cashbackInfo.last_period.start_time)} ~{" "}
|
|
|
+ {brTimeFormat(cashbackInfo.last_period.end_time)}
|
|
|
</span>
|
|
|
</div>
|
|
|
</li>
|
|
@@ -60,8 +60,8 @@ const Extract = (props: Props) => {
|
|
|
<div className={`${styles.timelineMarker} before:bg-[#9ae0b9]`}></div>
|
|
|
<div>
|
|
|
<span className={"text-[0.12rem] text-[#6c6c6c]"} ref={scope}>
|
|
|
- {timeFormat(cashbackInfo.next_period.start_time, local)} ~{" "}
|
|
|
- {timeFormat(cashbackInfo.next_period.end_time, local)}
|
|
|
+ {brTimeFormat(cashbackInfo.next_period.start_time)} ~{" "}
|
|
|
+ {brTimeFormat(cashbackInfo.next_period.end_time)}
|
|
|
</span>
|
|
|
</div>
|
|
|
</li>
|