spiegel-keyman/common/web
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
..
es-bundling chore(common): builder scripts now use /resources/build/builder.inc.sh 2024-05-02 15:54:31 +07:00
eslint chore(developer): add eslint devDependency for kmc 2023-04-25 13:44:56 +07:00
gesture-recognizer chore(web): removes ts-node use from gesture-recognizer 2024-06-10 11:04:04 +07:00
input-processor fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
keyboard-processor chore(common): eliminate ts-node ref from most subpackages 2024-06-10 10:07:58 +07:00
keyman-version fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
lm-message-types fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
lm-worker Merge pull request #11732 from keymanapp/fix/web/array-from-polyfill 2024-06-14 15:39:30 +07:00
recorder fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
sentry-manager fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
tslib chore(common): Merge branch 'master' into change/common/update-esbuild 2024-06-13 12:47:55 +07:00
types fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info 2024-06-18 07:03:08 +10:00
utils fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
.gitignore chore(web): move lm-worker into its own folder 2022-04-14 15:33:23 +10:00
build.sh chore(common): builder scripts now use /resources/build/builder.inc.sh 2024-05-02 15:54:31 +07:00
tsconfig.kmw-main-base.json chore(web): kmw-main tsconfig -> /web, redirect in /common/web 2023-06-14 08:22:05 +07:00