atualização do timezone para bagota

pull/20/head
adriano 2023-09-29 14:45:01 -03:00
parent 1d190a5dd4
commit 62efca88c3
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ module.exports = {
collate: "utf8mb4_bin"
},
dialect: process.env.DB_DIALECT || "mysql",
timezone: "-03:00",
timezone: "-05:00",
host: process.env.DB_HOST,
database: process.env.DB_NAME,
username: process.env.DB_USER,

View File

@ -64,7 +64,7 @@ const isWeekend = async () => {
) {
// Specify your desired timezone
const brazilTimeZone = "America/Sao_Paulo";
const brazilTimeZone = "America/Bogota";
const currentDateUtc = new Date();

View File

@ -433,8 +433,8 @@ const Dashboard = () => {
tickets
<Tooltip
title={`Os dados informados abaixo é baseado na data: ${new Date().toLocaleDateString(
"pt-BR",
{ timeZone: "UTC" }
"es",
{ timeZone: "UTC-5" }
)}`}
color="primary"
TransitionComponent={Zoom}
@ -516,7 +516,7 @@ const Dashboard = () => {
<Tooltip
title={`Os dados informados abaixo é baseado na data: ${new Date().toLocaleDateString(
"pt-BR",
{ timeZone: "UTC" }
{ timeZone: "UTC-5" }
)}`}
color="primary"
TransitionComponent={Zoom}