diff --git a/RFiDGear/ViewModel/TaskSetupViewModels/CommonTaskViewModel.cs b/RFiDGear/ViewModel/TaskSetupViewModels/CommonTaskViewModel.cs index cc413ee..2af505e 100644 --- a/RFiDGear/ViewModel/TaskSetupViewModels/CommonTaskViewModel.cs +++ b/RFiDGear/ViewModel/TaskSetupViewModels/CommonTaskViewModel.cs @@ -876,7 +876,13 @@ private void OnNewWriteReportCommand(ReportReaderWriter _reportReaderWriter) hasVariable = true; } - if (temporaryContent.Contains("%FREEMEM")) + if (temporaryContent.Contains("%DATE")) + { + temporaryContent = temporaryContent.Replace("%DATE", DateTime.Now.ToString("dd/MM/yyyy") ?? ""); + hasVariable = true; + } + + if (temporaryContent.Contains("%FREEMEM")) { temporaryContent = temporaryContent.Replace("%FREEMEM", GenericChip.FreeMemory.ToString() ?? ""); hasVariable = true; diff --git a/RFiDGearBundleSetup/Bundle.wxs b/RFiDGearBundleSetup/Bundle.wxs index fe3b594..10841b3 100644 --- a/RFiDGearBundleSetup/Bundle.wxs +++ b/RFiDGearBundleSetup/Bundle.wxs @@ -20,7 +20,7 @@ - +