spiegel-keyman/common/web/types
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
..
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
test chore(common): ldml update out of techpreview 🙀 2024-03-02 22:40:38 -06:00
tools chore(developer): verify kmp.json output from kmc-package 2023-10-25 12:07:46 +07:00
.eslintrc.cjs feat(common): precompile json schemas to improve performance 2023-10-05 13:56:53 +07:00
.gitignore feat(common): precompile json schemas to improve performance 2023-10-05 13:56:53 +07:00
build.sh chore(common): ldml update out of techpreview 🙀 2024-03-02 22:40:38 -06:00
package.json feat(web): alternate artifact - es6-bundled Web 2023-12-18 10:32:35 +07:00
tsconfig.json chore: test preserveConstEnums in common/web/types only 2024-01-24 10:55:31 +07:00