Skip to content
This repository was archived by the owner on Apr 27, 2022. It is now read-only.

Conversation

koush
Copy link

@koush koush commented Feb 11, 2022

I'm using this is a very low memory environment, and moment js is roughly half the code/memory footprint of all of zwave-js. Switching to date-fns-tz dropped the size and memory footprint considerably.

Moment has been subsetted due to incompatibility with tree shaking.

@koush
Copy link
Author

koush commented Feb 11, 2022

for users using non-default log file schemes (unclear how many there may be) this will potentially mess with their file names, since moment never followed the technical standard.

https://date-fns.org/v2.28.0/docs/format

@koush
Copy link
Author

koush commented Feb 11, 2022

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant