Inject node - Use local time not UTC

Unfortunately, moment.js is rather a beast and is best left to a dedicated node in my opinion. Personally, I wouldn't want moment loaded all the time just in case I needed it once.

I would always choose to store and process date/time data in UTC to avoid DST & timezone errors that plague processing otherwise. Then just convert to local at display/user interaction time.

1 Like