Compare commits
2 Commits
10b543ebab
...
19158357fb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19158357fb | ||
|
|
c2c35b62b5 |
@ -72,9 +72,15 @@ interface GeneralPlanningResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Helper per formattare orario in formato italiano 24h (HH:MM)
|
// Helper per formattare orario in formato italiano 24h (HH:MM)
|
||||||
|
// IMPORTANTE: usa timeZone UTC per evitare shift di +2 ore
|
||||||
const formatTime = (dateString: string) => {
|
const formatTime = (dateString: string) => {
|
||||||
const date = new Date(dateString);
|
const date = new Date(dateString);
|
||||||
return date.toLocaleTimeString("it-IT", { hour: "2-digit", minute: "2-digit", hour12: false });
|
return date.toLocaleTimeString("it-IT", {
|
||||||
|
hour: "2-digit",
|
||||||
|
minute: "2-digit",
|
||||||
|
hour12: false,
|
||||||
|
timeZone: "UTC" // Evita conversione timezone locale (+2h in Italia)
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// Helper per formattare data in formato italiano (gg/mm/aaaa)
|
// Helper per formattare data in formato italiano (gg/mm/aaaa)
|
||||||
|
|||||||
Binary file not shown.
BIN
database-backups/vigilanzaturni_v1.0.29_20251021_171921.sql.gz
Normal file
BIN
database-backups/vigilanzaturni_v1.0.29_20251021_171921.sql.gz
Normal file
Binary file not shown.
10
version.json
10
version.json
@ -1,7 +1,13 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.28",
|
"version": "1.0.29",
|
||||||
"lastUpdate": "2025-10-21T16:56:37.634Z",
|
"lastUpdate": "2025-10-21T17:19:38.090Z",
|
||||||
"changelog": [
|
"changelog": [
|
||||||
|
{
|
||||||
|
"version": "1.0.29",
|
||||||
|
"date": "2025-10-21",
|
||||||
|
"type": "patch",
|
||||||
|
"description": "Deployment automatico v1.0.29"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "1.0.28",
|
"version": "1.0.28",
|
||||||
"date": "2025-10-21",
|
"date": "2025-10-21",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user