mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-09 18:35:32 +00:00
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 |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| tools | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| build.sh | ||
| package.json | ||
| tsconfig.json | ||