spiegel-keyman/common/web/types
Marc Durdin e081e0c72e 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
2024-06-18 07:03:08 +10:00
..
src fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info 2024-06-18 07:03:08 +10:00
test fix(common): Chai 5.0 update strictness broke some common/web/types tests 2024-05-08 08:50:18 +07: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): move CLDR import copy into build step for common/web/types 2024-06-05 10:53:44 +07:00
package.json chore(common): eliminate ts-node ref from most subpackages 2024-06-10 10:07:58 +07:00
tsconfig.json chore: move xml2js into the repo to eliminate npm git dependency 2024-06-03 16:07:29 +07:00