Skip to content

Commit 21adcfd

Browse files
gtsiolisroboquat
authored andcommitted
Update usage period date format
1 parent bc23811 commit 21adcfd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

components/dashboard/src/components/UsageBasedBillingConfig.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,15 +256,13 @@ export default function UsageBasedBillingConfig({ attributionId }: Props) {
256256
<div className="flex-grow">
257257
<div className="uppercase text-sm text-gray-400 dark:text-gray-500">Current Period</div>
258258
<div className="text-sm font-medium text-gray-500 dark:text-gray-400">
259-
<span className="font-semibold">{`${billingCycleFrom.format("MMMM YYYY")}`}</span> (
260259
<span title={billingCycleFrom.toDate().toUTCString().replace("GMT", "UTC")}>
261-
{billingCycleFrom.format("MMM D")}
260+
{billingCycleFrom.format("MMM D, YYYY")}
262261
</span>{" "}
263-
-{" "}
262+
&ndash;{" "}
264263
<span title={billingCycleTo.toDate().toUTCString().replace("GMT", "UTC")}>
265-
{billingCycleTo.format("MMM D")}
264+
{billingCycleTo.format("MMM D, YYYY")}
266265
</span>
267-
)
268266
</div>
269267
</div>
270268
<div>

0 commit comments

Comments
 (0)