Dayjs in code node

Would be nice to be able to use https://day.js.org/ inside the code node. This would make working with dates inside the code node so much easier.

Thanks a lot for your request. We already support Luxon inside of n8n, and so also inside the Code-Node. Is there something missing in that library that Dayjs has?

You can find the docs here:

1 Like

Ou I didn’t know that, actually. I haven’t worked with Luxon yet. I will test it. Thanks.

1 Like

Great, I hope it is helpful! Have fun!

1 Like