ci(release): bump build number to 231

This commit is contained in:
2025-04-15 07:07:08 -05:00
parent c79496eaac
commit 46bb695840
4 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
import { format } from "date-fns";
export const fixTime = (date: any) => {
const strippedDate = date.replace("Z", ""); // Remove Z
return format(strippedDate, "MM/dd/yyyy hh:mm a");
};

View File

@@ -1,5 +1,5 @@
import { fixTime } from "@/utils/fixTime";
import { ColumnDef } from "@tanstack/react-table";
import { format } from "date-fns";
// This type is used to define the shape of our data.
// You can use a Zod schema here if you want.
@@ -33,10 +33,7 @@ export const labelolumns: ColumnDef<Adjustmnets>[] = [
header: "Label Date",
cell: ({ row }) => {
if (row.getValue("upd_date")) {
const correctDate = format(
row.getValue("upd_date"),
"M/d/yyyy hh:mm"
);
const correctDate = fixTime(row.getValue("created_at"));
return (
<div className="text-left font-medium">{correctDate}</div>
);

View File

@@ -1,6 +1,6 @@
import { Button } from "@/components/ui/button";
import { fixTime } from "@/utils/fixTime";
import { ColumnDef } from "@tanstack/react-table";
import { format } from "date-fns";
import { Trash } from "lucide-react";
// This type is used to define the shape of our data.
@@ -38,10 +38,7 @@ export const ocpColumns = (
header: "Error Date",
cell: ({ row }) => {
if (row.getValue("created_at")) {
const correctDate = format(
row.getValue("created_at"),
"M/d/yyyy hh:mm"
);
const correctDate = fixTime(row.getValue("created_at"));
return (
<div className="text-left font-medium">{correctDate}</div>
);

View File

@@ -35,7 +35,7 @@
}
},
"admConfig": {
"build": 230,
"build": 231,
"oldBuild": "backend-0.1.3.zip"
},
"devDependencies": {