diff --git a/refine-nextjs/plugins/antd-example/src/app/blog-posts/show/[id]/page.tsx b/refine-nextjs/plugins/antd-example/src/app/blog-posts/show/[id]/page.tsx index 50451a47..cca79275 100644 --- a/refine-nextjs/plugins/antd-example/src/app/blog-posts/show/[id]/page.tsx +++ b/refine-nextjs/plugins/antd-example/src/app/blog-posts/show/[id]/page.tsx @@ -78,9 +78,9 @@ export default function BlogPostShow() { {"CreatedAt"} <%_ if (answers["data-provider"] === "data-provider-appwrite") { _%> - + <%_ } else if (answers["data-provider"] === "data-provider-hasura") { _%> - + <%_ } else { _%> <%_ } _%> diff --git a/refine-nextjs/plugins/headless-example/src/app/blog-posts/show/[id]/page.tsx b/refine-nextjs/plugins/headless-example/src/app/blog-posts/show/[id]/page.tsx index 4182c5f8..94e8a984 100644 --- a/refine-nextjs/plugins/headless-example/src/app/blog-posts/show/[id]/page.tsx +++ b/refine-nextjs/plugins/headless-example/src/app/blog-posts/show/[id]/page.tsx @@ -109,7 +109,7 @@ export default function BlogPostShow() { timeZone: "UTC", })} <%_ } else if (answers["data-provider"] === "data-provider-appwrite") { _%> - {new Date(record?.["$createdAt"]).toLocaleString(undefined, { + {new Date(record?.$createdAt).toLocaleString(undefined, { timeZone: "UTC", })} <%_ } else { _%> diff --git a/refine-nextjs/plugins/mui-example/src/app/blog-posts/show/[id]/page.tsx b/refine-nextjs/plugins/mui-example/src/app/blog-posts/show/[id]/page.tsx index 3ff4f4f4..bfe3ce71 100644 --- a/refine-nextjs/plugins/mui-example/src/app/blog-posts/show/[id]/page.tsx +++ b/refine-nextjs/plugins/mui-example/src/app/blog-posts/show/[id]/page.tsx @@ -97,7 +97,7 @@ export default function BlogPostShow() { <%_ if (answers["data-provider"] === "data-provider-hasura") { _%> <%_ } else if (answers["data-provider"] === "data-provider-appwrite") { _%> - + <%_ } else { _%> <%_ } _%> diff --git a/refine-remix/plugins/antd-example/app/routes/_layout.blog-posts.show.$id.tsx b/refine-remix/plugins/antd-example/app/routes/_layout.blog-posts.show.$id.tsx index 914b99cc..06bffa7d 100644 --- a/refine-remix/plugins/antd-example/app/routes/_layout.blog-posts.show.$id.tsx +++ b/refine-remix/plugins/antd-example/app/routes/_layout.blog-posts.show.$id.tsx @@ -76,9 +76,9 @@ export default function BlogPostShow() { {"CreatedAt"} <%_ if (answers["data-provider"] === "data-provider-appwrite") { _%> - + <%_ } else if (answers["data-provider"] === "data-provider-hasura") { _%> - + <%_ } else { _%> <%_ } _%> diff --git a/refine-remix/plugins/headless-example/app/routes/_layout.blog-posts.show.$id.tsx b/refine-remix/plugins/headless-example/app/routes/_layout.blog-posts.show.$id.tsx index 8ccdddf5..fd70948f 100644 --- a/refine-remix/plugins/headless-example/app/routes/_layout.blog-posts.show.$id.tsx +++ b/refine-remix/plugins/headless-example/app/routes/_layout.blog-posts.show.$id.tsx @@ -107,7 +107,7 @@ export default function BlogPostShow() { timeZone: "UTC", })} <%_ } else if (answers["data-provider"] === "data-provider-appwrite") { _%> - {new Date(record?.["$createdAt"]).toLocaleString(undefined, { + {new Date(record?.$createdAt).toLocaleString(undefined, { timeZone: "UTC", })} <%_ } else { _%> diff --git a/refine-remix/plugins/mui-example/app/routes/_layout.blog-posts.show.$id.tsx b/refine-remix/plugins/mui-example/app/routes/_layout.blog-posts.show.$id.tsx index b6e4255b..d16e9de8 100644 --- a/refine-remix/plugins/mui-example/app/routes/_layout.blog-posts.show.$id.tsx +++ b/refine-remix/plugins/mui-example/app/routes/_layout.blog-posts.show.$id.tsx @@ -92,7 +92,7 @@ export default function BlogPostShow() { <%_ if (answers["data-provider"] === "data-provider-hasura") { _%> <%_ } else if (answers["data-provider"] === "data-provider-appwrite") { _%> - + <%_ } else { _%> <%_ } _%> diff --git a/refine-vite/plugins/antd-example/src/pages/blog-posts/show.tsx b/refine-vite/plugins/antd-example/src/pages/blog-posts/show.tsx index 2b27a7fe..ae706c8a 100644 --- a/refine-vite/plugins/antd-example/src/pages/blog-posts/show.tsx +++ b/refine-vite/plugins/antd-example/src/pages/blog-posts/show.tsx @@ -77,9 +77,9 @@ export const BlogPostShow = () => { {"CreatedAt"} <%_ if (answers["data-provider"] === "data-provider-appwrite") { _%> - + <%_ } else if (answers["data-provider"] === "data-provider-hasura") { _%> - + <%_ } else { _%> <%_ } _%> diff --git a/refine-vite/plugins/headless-example/src/pages/blog-posts/show.tsx b/refine-vite/plugins/headless-example/src/pages/blog-posts/show.tsx index b4d119a0..bde8de12 100644 --- a/refine-vite/plugins/headless-example/src/pages/blog-posts/show.tsx +++ b/refine-vite/plugins/headless-example/src/pages/blog-posts/show.tsx @@ -107,7 +107,7 @@ export const BlogPostShow = () => { timeZone: "UTC", })} <%_ } else if (answers["data-provider"] === "data-provider-appwrite") { _%> - {new Date(record?.["$createdAt"]).toLocaleString(undefined, { + {new Date(record?.$createdAt).toLocaleString(undefined, { timeZone: "UTC", })} <%_ } else { _%> diff --git a/refine-vite/plugins/mui-example/src/pages/blog-posts/show.tsx b/refine-vite/plugins/mui-example/src/pages/blog-posts/show.tsx index d6f2e32c..db03637d 100644 --- a/refine-vite/plugins/mui-example/src/pages/blog-posts/show.tsx +++ b/refine-vite/plugins/mui-example/src/pages/blog-posts/show.tsx @@ -94,7 +94,7 @@ export const BlogPostShow = () => { <%_ if (answers["data-provider"] === "data-provider-hasura") { _%> <%_ } else if (answers["data-provider"] === "data-provider-appwrite") { _%> - + <%_ } else { _%> <%_ } _%>