From 48d6e0154e75bf3dfe6fe951fb16b567118b22fc Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 11 Aug 2022 15:17:14 +0200 Subject: [PATCH 1/2] Fix data-roa timbrature x mancata conversione in pag razor --- GPW.CORE.WRKLOG/Components/TimbrEditor.razor | 4 ++-- GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs | 5 +++++ GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj | 2 +- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/GPW.CORE.WRKLOG/Components/TimbrEditor.razor b/GPW.CORE.WRKLOG/Components/TimbrEditor.razor index bdf13eb..456bcff 100644 --- a/GPW.CORE.WRKLOG/Components/TimbrEditor.razor +++ b/GPW.CORE.WRKLOG/Components/TimbrEditor.razor @@ -8,10 +8,10 @@

Timbrature

-
+
@if (ListTimb != null && ListTimb.Count > 0) { - @(ListTimb.FirstOrDefault()).DataOra.ToString("ddd dd.MM.yyyy") + @(dataRifTimb) }
diff --git a/GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs b/GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs index c809124..bd32877 100644 --- a/GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs +++ b/GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs @@ -116,6 +116,11 @@ namespace GPW.CORE.WRKLOG.Components } } + private string dataRifTimb + { + get => (ListTimb.FirstOrDefault()).DataOra.ToString("dddd, dd.MM.yyyy"); + } + #endregion Private Methods #region Protected Methods diff --git a/GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj b/GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj index 7e61039..6fb5eef 100644 --- a/GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj +++ b/GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj @@ -2,7 +2,7 @@ net6.0 - 3.0.2207.1510 + 3.0.2208.1115 enable enable diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index eda3c33..6baaf4f 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GPW - Gestione Presenze Web -

Versione: 3.0.2207.1510

+

Versione: 3.0.2208.1115


Note di rilascio:
  • diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index 1b5b1d7..3774b1a 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -3.0.2207.1510 +3.0.2208.1115 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index f378f35..10b25be 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 3.0.2207.1510 + 3.0.2208.1115 http://nexus.steamware.net/repository/SWS/GWMS/stable/0/GWMS.UI.zip http://nexus.steamware.net/repository/SWS/GWMS/stable/0/ChangeLog.html false From 5a652ead6145c921835e7d7df6acefd6cda1d2b4 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 11 Aug 2022 15:19:03 +0200 Subject: [PATCH 2/2] fix commento --- GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs b/GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs index bd32877..f5d4e59 100644 --- a/GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs +++ b/GPW.CORE.WRKLOG/Components/TimbrEditor.razor.cs @@ -116,6 +116,9 @@ namespace GPW.CORE.WRKLOG.Components } } + /// + /// Data-Ora di riferimento del blocco giornaliero corrente + /// private string dataRifTimb { get => (ListTimb.FirstOrDefault()).DataOra.ToString("dddd, dd.MM.yyyy");