c
message has been deleted
💯 3
p
Just wait a moment... (see what I did there?)
d
There was a moment in time where I did not use a library... Now that I do, my days aren't as rough.
s
Moment may not be dead yet, but it’s probably worth looking at actively maintained projects like JS-Joda or date-fns instead
Sadly, Luxon requires Intl support which is not yet available in any version of SuiteScript
c
Moment is so nice after you’ve had to chase a bug due to a leap year. It’s a big library tho.
b
@reza.seedin luxon guinea pig, defend luxon's honor
s
doing any logic already covered by a well tested library
r
haha @battk I got luxon working for formatting but I can't get the timezone working ... even thought the code works in the console does not work in SS 2.1. we have to give
Luxon
a
moment
to catch up in NetSuite
b
how far did you get using the polyfill
s
my comment was basically an indirect way of saying one should generally always use libraries for everything.
b
okay