diff --git a/.kanbn/index.md b/.kanbn/index.md index 5a1abcf..1243a9d 100644 --- a/.kanbn/index.md +++ b/.kanbn/index.md @@ -20,13 +20,13 @@ taskTemplate: '^+^_${overdue ? ''^R'' : ''''}${name}^: ${relations ? (''\n^-^/^g - [setup-syncthing-server](tasks/setup-syncthing-server.md) - [photoview-in-docker-for-a-viewer-only](tasks/photoview-in-docker-for-a-viewer-only.md) - [image-size-distribution-per-exif-model-directory-when-no-model](tasks/image-size-distribution-per-exif-model-directory-when-no-model.md) +- [skip-metadata-load-after-first-each-day](tasks/skip-metadata-load-after-first-each-day.md) - [cluster-questioning](tasks/cluster-questioning.md) ## Todo - [determine-if-location-container-collection-is-needed-in-get-faces](tasks/determine-if-location-container-collection-is-needed-in-get-faces.md) - [import-know-faces-into-db](tasks/import-know-faces-into-db.md) -- [skip-metadata-load-after-first-each-day](tasks/skip-metadata-load-after-first-each-day.md) - [use-eyes-to-find-orientation](tasks/use-eyes-to-find-orientation.md) - [find-incorrectly-mapped-faces](tasks/find-incorrectly-mapped-faces.md) - [nef-support](tasks/nef-support.md) @@ -35,12 +35,13 @@ taskTemplate: '^+^_${overdue ? ''^R'' : ''''}${name}^: ${relations ? (''\n^-^/^g - [merge-kristy-files](tasks/merge-kristy-files.md) - [set-date-taken-when-missing](tasks/set-date-taken-when-missing.md) -- [family-tree-as-markdown-files](tasks/family-tree-as-markdown-files.md) +- [console-for-markdown-to-genealogical-data-communication](tasks/console-for-markdown-to-genealogical-data-communication.md) ## Done - [eof-error](tasks/eof-error.md) - [run-scan-originals](tasks/run-scan-originals.md) - [shrink-percent](tasks/shrink-percent.md) +- [family-tree-as-markdown-files](tasks/family-tree-as-markdown-files.md) - [setup-photo-prism-again-in-wsl-docker](tasks/setup-photo-prism-again-in-wsl-docker.md) - [rename-files-to-padded-number-string](tasks/rename-files-to-padded-number-string.md) diff --git a/.kanbn/tasks/console-for-markdown-to-genealogical-data-communication.md b/.kanbn/tasks/console-for-markdown-to-genealogical-data-communication.md new file mode 100644 index 0000000..195ec6a --- /dev/null +++ b/.kanbn/tasks/console-for-markdown-to-genealogical-data-communication.md @@ -0,0 +1,14 @@ +--- +created: 2023-07-21T04:38:02.640Z +updated: 2023-07-21T04:38:02.635Z +assigned: "" +progress: 0 +tags: [] +started: 2023-07-21T04:38:02.640Z +--- + +# Console for Markdown to Genealogical Data Communication + +- This will allow for more information about a person + +- [ ] Copy concept done in ~~~File-Folder-Helper~~~ use File-Folder-Helper \ No newline at end of file diff --git a/.kanbn/tasks/family-tree-as-markdown-files.md b/.kanbn/tasks/family-tree-as-markdown-files.md index 977243f..1c6d901 100644 --- a/.kanbn/tasks/family-tree-as-markdown-files.md +++ b/.kanbn/tasks/family-tree-as-markdown-files.md @@ -1,10 +1,11 @@ --- created: 2023-07-08T21:25:54.996Z -updated: 2023-07-17T08:09:36.454Z +updated: 2023-07-21T04:34:47.650Z assigned: "" progress: 0 tags: [] -type: "kanbn" +type: kanbn +completed: 2023-07-21T04:34:47.650Z --- # Family Tree as Markdown Files diff --git a/.kanbn/tasks/skip-metadata-load-after-first-each-day.md b/.kanbn/tasks/skip-metadata-load-after-first-each-day.md index 86efa7c..765f494 100644 --- a/.kanbn/tasks/skip-metadata-load-after-first-each-day.md +++ b/.kanbn/tasks/skip-metadata-load-after-first-each-day.md @@ -1,8 +1,8 @@ --- created: 2023-07-05T22:17:38.271Z -updated: 2023-07-08T21:21:06.224Z -status: "2-Todo" -type: "kanbn" +updated: 2023-07-21T04:35:30.555Z +status: 2-Todo +type: kanbn --- # Skip Metadata Load After First Each Day diff --git a/Shared/Models/Stateless/Methods/GenealogicalDataCommunication.cs b/Shared/Models/Stateless/Methods/GenealogicalDataCommunication.cs index 4bd04ab..e9fd2e0 100644 --- a/Shared/Models/Stateless/Methods/GenealogicalDataCommunication.cs +++ b/Shared/Models/Stateless/Methods/GenealogicalDataCommunication.cs @@ -472,7 +472,7 @@ internal abstract class GenealogicalDataCommunication for (int i = 0; i < familyGroupLines.Count; i++) lines.AddRange(familyGroupLines[i]); lines.AddRange(footerLines); - File.WriteAllLines(Path.Combine(a2PeopleContentDirectory, $"{dateTime.Year}-ged", $"{dateTime.Year}-Week-{weekOfYear}", $"{ticks}.ged"), lines); + File.WriteAllLines(Path.Combine(a2PeopleContentDirectory, $"{dateTime.Year}-GenealogicalDataCommunication", $"{dateTime.Year}-Week-{weekOfYear}", $"{ticks}.ged"), lines); return result; } diff --git a/Shared/Models/Stateless/Methods/MarkDown.cs b/Shared/Models/Stateless/Methods/MarkDown.cs index 0ed0646..873e27e 100644 --- a/Shared/Models/Stateless/Methods/MarkDown.cs +++ b/Shared/Models/Stateless/Methods/MarkDown.cs @@ -59,20 +59,20 @@ internal abstract class MarkDown lines.Add($"surname: '{personName.Last.Value}'"); if (!string.IsNullOrEmpty(jrOrSr)) lines.Add($"suffix: '{jrOrSr.Trim()}'"); - lines.Add($"sex: {genealogicalDataCommunication.Sex}"); + lines.Add($"sex: '{genealogicalDataCommunication.Sex}'"); if (genealogicalDataCommunication.Birth is not null) { lines.Add($"date: {genealogicalDataCommunication.Birth.Value:yyyy-MM-ddT00:00:00.000Z}"); Models.PersonBirthday personBirthday = new(genealogicalDataCommunication.Birth.Value); if (!IPersonBirthday.IsCounterPersonBirthday(personBirthday)) - lines.Add($"birthDate: {genealogicalDataCommunication.Birth.Value:dd MMM yyyy}"); + lines.Add($"birthDate: '{genealogicalDataCommunication.Birth.Value:dd MMM yyyy}'"); } if (genealogicalDataCommunication.Death is not null) { if (genealogicalDataCommunication?.Death is null || genealogicalDataCommunication.Death == genealogicalDataCommunication.Birth || IPersonBirthday.IsCounterPersonBirthday(new(genealogicalDataCommunication.Death.Value))) lines.Add("isDead: true"); else - lines.Add($"deathDate: {genealogicalDataCommunication.Death.Value:dd MMM yyyy}"); + lines.Add($"deathDate: '{genealogicalDataCommunication.Death.Value:dd MMM yyyy}'"); } if (isDefaultName) lines.Add($"{nameof(isDefaultName)}: {isDefaultName}");