I am storing a date as a django DateField in my database. It simply looks like "2020-06-25" in the database.
This string is returned from my api, and passed into a javascript "Date" as such:
date = new Date(due_date)
logging this date results in:
Wed Jun 24 2020 17:00:00 GMT-0700 (Pacific Daylight Time)
I don't care about the time, only the date. How do I get javascript Date to ignore the time, and not adjust for the difference in timezone between the DB and the local user? If a user sets the due date for a project in one timezone, I want every person to see the same due date.