Opps! I haven't noticed this D10 compatibility patch by Roman #5 before. THX Roman.
So I did my own code refactoring instead.
I've attached .gz archive of my D10 compatible code. For anyone who's interested in.
With no guarantee! It works fine on my D10.3.1 site.
It would be nice from maintainers to review the patch and release a new stable version of this module.
Luke.Leber → credited D4K0 → .
@svendecabooter
Nice to see you wanna safe the life of this unmaintained project.
Good luck!
FYI:
When it comes to hms_field.zip codebase I've attached, it comes from clean 8.x-1.0-beta1 code-base.
I've just replaced D8 deprecated code with D9 equivalent code. That's all I did. Worked fine on D9.3 that time.
I did no other changes that could break the default functionality. As far as I know...
I've attached a .zip file for anyone who's interested in 8.x-1.0-beta1 version compatible with D9.
The work's about one your old. Not tested on up-to-date Drupal 9.5.x.