spiegel-keyman/common
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
..
include fix(common,core): support other lookup for modifiers 2024-04-01 23:21:33 -05:00
linux chore(common): run common and resources tests 2023-04-28 14:07:34 +07:00
mac chore(common): run common and resources tests 2023-04-28 14:07:34 +07:00
models fix(web): add limited Array.from polyfill for lm-worker use 2024-06-07 12:02:17 +07:00
predictive-text fix(web): fixes pred-text unit test instability 2024-04-22 15:40:37 +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(developer): ensure fatal errors report message or made non-fatal 2024-02-20 11:10:39 +07:00
tools fix(common): hextobin should return an error status 2023-12-14 15:49:01 -06:00
web fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info 2024-06-18 07:38:04 +10:00
windows fix(developer): make top row of Character Map 1 pixel to avoid DIV/0 in gestures 2024-05-28 14:29:16 +07:00
build.sh chore(common): run common and resources tests 2023-04-28 14:07:34 +07:00