Open joseluisq opened 2 years ago
@mayokunadeniyi
This issue caused by date format, date string will format to Locale.getDefault() before save into db, but the parsing after reading id Locale.ENGLISH, changing the parsing after reading will cause error if user change system language
I came up with following solution,
fromDtoToVo()
will be better to this fun WeatherForecast.fromDtoToVo() = this.copy( date = date.formatDate())
Version: 1.0 Steps to reproduce: