The time issue is known to me, I had a similar problem, it’s one of the libraries that the code uses.
Platformio should download the correct version although it looks like it didn’t.
The clash (from memory) is between
and
PlatformIO should be using version #6b4841f of NTPCLIENT.
If you read the comments at the top of main.cpp you will notice
/*
*** NOTE IF YOU GET ISSUES WHEN COMPILING IN PLATFORM.IO ***ERROR: “ESP Async WebServer\src\WebHandlers.cpp:67:64: error: ‘strftime’ was not declared in this scope”
Delete the file \diyBMSv4\ESPController.pio\libdeps\nodemcuv2\Time\Time.h
The time.h file in this library conflicts with the time.h file in the ESP core platform code
*/