Fixes : - lacking i18n.global.locale.value in datetime.ts - remove a test in i18n.ts that was always false in past versions of the code because i18n.global.locale is an object and lang is a string - correctly type createI18n with <false> for legacy to solve wrong TypeScript error (see https://github.com/intlify/vue-i18n/issues/785, https://github.com/intlify/vue-i18n/issues/889#issuecomment-1017250573) Fixes: #1597, #1772, and possibly other related issues.