summaryrefslogtreecommitdiffstats
path: root/src/main/Services/InputService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/Services/InputService.cs')
-rw-r--r--src/main/Services/InputService.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/Services/InputService.cs b/src/main/Services/InputService.cs
index cb0c075..2540562 100644
--- a/src/main/Services/InputService.cs
+++ b/src/main/Services/InputService.cs
@@ -8,8 +8,8 @@ namespace PKISharp.WACS.Services
{
public class InputService : IInputService
{
- private IArgumentsService _arguments;
- private ILogService _log;
+ private readonly IArgumentsService _arguments;
+ private readonly ILogService _log;
private const string _cancelCommand = "C";
private readonly int _pageSize;
private bool _dirty;
@@ -406,6 +406,11 @@ namespace PKISharp.WACS.Services
}
Console.WriteLine();
}
+
+ public string FormatDate(DateTime date)
+ {
+ return date.ToString(Properties.Settings.Default.FileDateFormat);
+ }
}
}