diff --git a/CharacterRecordsGenerator/GeneratedResultWindow.xaml b/CharacterRecordsGenerator/GeneratedResultWindow.xaml
index 704e21c..349c0c7 100644
--- a/CharacterRecordsGenerator/GeneratedResultWindow.xaml
+++ b/CharacterRecordsGenerator/GeneratedResultWindow.xaml
@@ -11,13 +11,13 @@
-
+
-
+
-
+
diff --git a/CharacterRecordsGenerator/RecordFormatterGenerationMethods.cs b/CharacterRecordsGenerator/RecordFormatterGenerationMethods.cs
index 81268e5..63c5837 100644
--- a/CharacterRecordsGenerator/RecordFormatterGenerationMethods.cs
+++ b/CharacterRecordsGenerator/RecordFormatterGenerationMethods.cs
@@ -104,10 +104,12 @@ namespace CharacterRecordsGenerator
!_employmentSkills.Any())
{
recordText.AppendLine("/// NO EMPLOYMENT RECORD FOUND ///");
+ recordText.AppendLine();
}
else
{
recordText.AppendLine("/// EMPLOYMENT RECORD ///");
+ recordText.AppendLine("This information has been verified by employment agents within the External Affairs department, and any comments, questions, or concerns about the legitimacy of such must be sent in a secure document to the same department.");
recordText.AppendLine();
WriteSectionIfAny(ref recordText,
@@ -121,8 +123,10 @@ namespace CharacterRecordsGenerator
WriteSectionIfAny(ref recordText,
"Other skills:",
_employmentSkills);
+
}
+ recordText.AppendLine($"LAST UPDATED: {Utility.HumanisedDate(Info.IcDate)}");
return recordText.ToString();
}
@@ -145,6 +149,7 @@ namespace CharacterRecordsGenerator
!_targetRecord.NoRevive)
{
recordText.AppendLine("/// NO MEDICAL RECORD FOUND ///");
+ recordText.AppendLine();
}
else
{
@@ -152,7 +157,7 @@ namespace CharacterRecordsGenerator
recordText.AppendLine();
recordText.AppendLine(
- " The following information is protected by doctor-patient confidentiality laws. Do not release without patient's consent.\n");
+ "The following information is protected by doctor-patient confidentiality laws. Do not release without patient's consent.\n");
if (_targetRecord.NoBorg || _targetRecord.NoProsthetic || _targetRecord.NoRevive)
{
@@ -189,8 +194,10 @@ namespace CharacterRecordsGenerator
WriteSectionIfAny(ref recordText,
"Prescriptions:",
_medicalPrescriptions);
- }
+
+ }
+ recordText.AppendLine($"LAST UPDATED: {Utility.HumanisedDate(Info.IcDate)}");
return recordText.ToString();
}
@@ -208,6 +215,7 @@ namespace CharacterRecordsGenerator
!_securityAttitudeCrew.Any())
{
recordText.AppendLine("/// NO SECURITY RECORD FOUND ///");
+ recordText.AppendLine();
}
else
{
@@ -231,6 +239,7 @@ namespace CharacterRecordsGenerator
_securityRecords);
}
+ recordText.AppendLine($"LAST UPDATED: {Utility.HumanisedDate(Info.IcDate)}");
return recordText.ToString();
}
}
diff --git a/CharacterRecordsGenerator/Utility.cs b/CharacterRecordsGenerator/Utility.cs
index 05807e7..1ca1c22 100644
--- a/CharacterRecordsGenerator/Utility.cs
+++ b/CharacterRecordsGenerator/Utility.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
+using Humanizer;
namespace CharacterRecordsGenerator
{
@@ -33,6 +34,8 @@ namespace CharacterRecordsGenerator
///
public static string SpaceIfValue(this string val) => string.IsNullOrWhiteSpace(val) ? string.Empty : $"{val} ";
+ public static string HumanisedDate(DateTime date) => $"{date.ToString("MMMM")} {date.Day.Ordinalize()}, {date.Year}";
+
public static string IfEmpty(this string target, string fallback) =>
target.IsEmpty() ? fallback : target;