79414743

Date: 2025-02-05 12:31:59
Score: 1.5
Natty:
Report link

Thanks for @Koboo's response. My code worked with his solution. But I found other simpler solution. You need just change java time zone inside bootstrap class's main method:

@SpringBootApplication
public class ApiApplication {

    public static void main(String[] args) {
        TimeZone.setDefault(TimeZone.getTimeZone(ZoneOffset.UTC));
        SpringApplication.run(ReflectBusinessApiApplication.class, args);
    }

}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Koboo's
  • Low reputation (0.5):
Posted by: Bekzod