This commit is contained in:
Mike Phares 2023-07-20 23:42:35 -07:00
parent 7733ac1328
commit 33a142549a
6 changed files with 27 additions and 11 deletions

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;
}

View File

@ -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}");