Using 5.8.2 on a Mac with Node.js and a SQL Server backend.
I know there has been lots of issues with date/time formatting but now mine is just the date value.
Had this issue before but got it resolved with removing the timezone - .replace(‘Z’, ‘’) in the formatting of the date/time coming over and it would strip any timezone information and display the actual date/time coming from your database. Like this:
SearchDate.replace(‘Z’, ‘’).formatDate(‘MM/dd/yyyy’)
However this time I have just a date column, no UTC, no time, nothing but date. The datatype of the column is Date. Here it is in the database:
When it comes over in the ServerAction, it is one day earlier. No formatting, nothing.
If I try to format it on my page, it still comes over a day earlier, even after adding the replace timezone formatter. All of my other date/time values are correct as long as I apply the correct formatting. I just want my data to come over just as is.