Time.h not working properly

Hi, i’m stuck with this problem for longer than i would want to…
After importing “time.h” to my projeckt every thing was fine until i’ve tried to use methods “configTime” and “setenv”. i’m getting error that they are not defined. Despite "tm’ and “time_t” are working fine.

I’ve also discovered that half of the “time.h” file is not fully highlighted in vs code.

I’ve tried deleting the class, changing name of the class etc. nothing works. Sometimes after doing nothing meaningful “configtime” starts working…

Tried this fix and nothing

Does anyone knows what’s going on?

If you are trying to use GitHub - PaulStoffregen/Time: Time library for Arduino, try including “TimeLib.h” instead of time.h