diff --git a/Projects/WebGIM/GIM_site/Web.SomaschiniUSA.config b/Projects/WebGIM/GIM_site/Web.SomaschiniUSA.config index 8a3445d..7b500ad 100644 --- a/Projects/WebGIM/GIM_site/Web.SomaschiniUSA.config +++ b/Projects/WebGIM/GIM_site/Web.SomaschiniUSA.config @@ -45,9 +45,54 @@ - + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.cs index 1105cff..967f8e1 100644 --- a/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.cs +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_insertRichiesta.ascx.cs @@ -54,8 +54,10 @@ public partial class mod_insertRichiesta : System.Web.UI.UserControl int turno = Convert.ToInt32(Math.Ceiling((double)Convert.ToDouble(DateTime.Now.AddHours(-shift + 1).Hour) / durataTurno)); int delay = memLayer.ML.confReadInt("defaultDelay"); // inserisco valori di default - txtDataOra.Text = string.Format("{0:dd/MM/yyyy HH:mm}", DateTime.Now); - txtDataLav.Text = string.Format("{0:dd/MM/yyyy}", DateTime.Now.AddHours(-shift + 1)); + //txtDataOra.Text = string.Format("{0:dd/MM/yyyy HH:mm}", DateTime.Now); + //txtDataLav.Text = string.Format("{0:dd/MM/yyyy}", DateTime.Now.AddHours(-shift + 1)); + txtDataOra.Text = DateTime.Now.ToString(memLayer.ML.CRS("ddMMyyyyHHmm")); + txtDataLav.Text = DateTime.Now.AddHours(-shift + 1).ToString(memLayer.ML.CRS("ddMMyyyy")); txtTurnoLav.Text = turno.ToString(); mod_dataOra1.valore = DateTime.Now.AddMinutes(-delay); chkImpFermo.Checked = false;