ESP32 +TFT_eSPI + RTC DS3231 not working properly if compiled in PlatformIO but work in Arduino IDE

Ok, changed PlatfermIO.ini and my Sket to use only TRCLib part:

#include <Arduino.h>

//#include <TFT_eSPI.h>

#include <SPI.h>

//#include "Free_Fonts.h"

#include <RTClib.h> // for the RTC

#include <Wire.h>

//TFT_eSPI tft = TFT_eSPI();

RTC_DS3231 rtc;

char t[34];

char daysOfTheWeek[7][12] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};

void setup()

{

  Serial.begin(115200);

  Wire.begin();

  rtc.begin();

  if (rtc.lostPower())

  { // uncomment this line on the second time upload

    rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));

  } // uncomment this close curly braces

  /*tft.init();

  tft.setRotation(1);

  tft.fillScreen(TFT_NAVY);

  tft.setTextColor(TFT_SKYBLUE, TFT_SKYBLUE);

  tft.setTextSize(1);

  tft.drawRect(0, 20, 107, 100, TFT_SKYBLUE);

  tft.drawRect(106, 20, 108, 100, TFT_SKYBLUE);

  tft.drawRect(213, 20, 107, 100, TFT_SKYBLUE);

  tft.drawLine(0, 220, 320, 220, TFT_SKYBLUE);

  */

}

void loop()

{

  DateTime now = rtc.now();

  sprintf(t, ", %02d/%02d/%02d  and it's %02d:%02d:%02d", now.day(), now.month(), now.year(), now.hour(), now.minute(), now.second());

  //tft.setFreeFont(FF21);

  //tft.drawString(t, 0, 1);

  Serial.print(daysOfTheWeek[now.dayOfTheWeek()]);

  Serial.println(t);

   delay(1000);

}

PlatformIO Serial Monitor is:

Saturday, 05/02/2022  and it's 15:19:45
Saturday, 05/02/2022  and it's 15:19:46
Saturday, 05/02/2022  and it's 15:19:47
Saturday, 05/02/2022  and it's 15:19:48
Saturday, 05/02/2022  and it's 15:19:49
Saturday, 05/02/2022  and it's 15:19:50
Saturday, 05/02/2022  and it's 15:19:51
Saturday, 05/02/2022  and it's 15:19:52
Saturday, 05/02/2022  and it's 15:19:53
Saturday, 05/02/2022  and it's 15:19:54
Saturday, 05/02/2022  and it's 15:19:55
Saturday, 05/02/2022  and it's 15:19:56
Saturday, 05/02/2022  and it's 15:19:57
Saturday, 05/02/2022  and it's 15:19:58
Saturday, 05/02/2022  and it's 15:19:59
Saturday, 05/02/2022  and it's 15:20:00
Saturday, 05/02/2022  and it's 15:20:01
Saturday, 05/02/2022  and it's 15:20:02
Saturday, 05/02/2022  and it's 15:20:03
Saturday, 05/02/2022  and it's 15:20:04
Saturday, 05/02/2022  and it's 15:20:05
Saturday, 05/02/2022  and it's 15:20:06
...
Saturday, 05/02/2022  and it's 15:23:21
Saturday, 05/02/2022  and it's 15:23:22
Saturday, 05/02/2022  and it's 15:23:23
...
Saturday, 05/02/2022  and it's 15:24:59
Saturday, 05/02/2022  and it's 15:25:00

Yes it’s working as intended as I pointed in my first Post
If I only use the TFT_eSPI sketch part, it works as indented to.
But not the two together in PlatformIO.