I removed the use of moment.js from App.js and used date-fns/date-fns-tz instead. I don't know a lot of js and react, but I believe I have recreated the functionality using date-fns libraries. Please confirm that I am setting the currentDay and currentTime event state variables appropriately.
Also started to implement date-fns use in Events.js, so far only top center time and day fields have been updated to use date-fns. I wanted to get conformation that I am doing things appropriately before working through Events.js since moment.js is used more widely there. Let me know if I'm on the right track!
I removed the use of moment.js from App.js and used date-fns/date-fns-tz instead. I don't know a lot of js and react, but I believe I have recreated the functionality using date-fns libraries. Please confirm that I am setting the currentDay and currentTime event state variables appropriately.
Also started to implement date-fns use in Events.js, so far only top center time and day fields have been updated to use date-fns. I wanted to get conformation that I am doing things appropriately before working through Events.js since moment.js is used more widely there. Let me know if I'm on the right track!