spiegel-keyman/common
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
..
include refactor(common): move enabled declaration into test_color.cpp 2024-05-20 15:42:41 +07:00
linux chore(common): builder_describe and builder_parse should come first 2024-05-02 15:54:32 +07:00
mac chore(common): builder_describe and builder_parse should come first 2024-05-02 15:54:32 +07:00
models Merge pull request #11732 from keymanapp/fix/web/array-from-polyfill 2024-06-14 15:39:30 +07:00
predictive-text chore(common): eliminate ts-node ref from most subpackages 2024-06-10 10:07:58 +07:00
resources chore(common): Update keymanweb-osk.ttf to 4.1 2024-03-21 20:06:11 +07:00
schemas chore(common): loosen .keyman-touch-layout schema layer id requirements 2024-02-23 10:38:45 +07:00
test fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
tools chore(common): eliminate ts-node ref from most subpackages 2024-06-10 10:07:58 +07:00
web fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info 2024-06-18 07:03:08 +10:00
windows Merge pull request #11611 from keymanapp/chore/windows/support-port-in-httpuploader 2024-05-31 13:07:46 +07:00
build.sh chore(common): builder scripts now use /resources/build/builder.inc.sh 2024-05-02 15:54:31 +07:00