spiegel-keyman/developer
Marc Durdin e56472d9b2 fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info
This updates the calculation of the lastModifiedDate property of the
.keyboard_info and .model_info file. It now looks for the most recent
commit to HISTORY.md, and then falls back to the project folder for
.keyboard_info and .model_info.

getLastGitCommitDate now also returns UTC date (it was giving TZ=0
which is affected by daylight saving), and works for a file rather than
just for a folder, and a corresponding unit test has been added.

The date strings returned will now always include '.000' msec suffix. I
have manually verified that the import into the api.keyman.com database
copes with this, and that this change still conforms to the expected
schema for .keyboard_info and .model_info files.

Last, but important, it turned out that the unit tests for kmc were not
running. This has been resolved in kmc/build.sh.

Fixes: #11793
Cherry-pick-of: #11805
2024-06-18 07:38:04 +10:00
..
config feat(developer): add api-extractor and api-documenter and config 2024-02-26 11:37:32 +07:00
docs/api/etc docs(developer): kmc-package api documentation 2024-03-04 19:15:37 +07:00
src fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info 2024-06-18 07:38:04 +10:00
.gitignore chore(developer): move server with no changes 2022-05-23 12:15:34 +10:00
build.sh chore: Update developer/build.sh 2024-02-27 15:29:14 +11:00