Software Alternatives & Reviews

Any bad experience with libraries such as date-fns.js or sugar.js (instead of moment.js) with Netsuite SuiteScript 2.X? (xposted from /r/Netsuite)

Moment.js date-fns
  1. Parse, validate, manipulate, and display dates in JavaScript
    Pricing:
    • Open Source
    I've been meaning to use moment.js for a long time in Netsuite but instead always jimmied around with native javascript date functions. Finally getting around to doing some basic functions with moment.js in a couple of solutions, but non-Netsuite developers are telling me date-fns.js is more intuitive and lightweight than moment.js. Also there are other libraries like sugar.js with functions like "Date.create('last week Friday');" which look like it would be fun to use with N/query or N/search.

    #Javascript UI Libraries #JS Library #JavaScript Framework 62 social mentions

  2. date-fns provides the most comprehensive yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js.
    Pricing:
    • Open Source
    I've been meaning to use moment.js for a long time in Netsuite but instead always jimmied around with native javascript date functions. Finally getting around to doing some basic functions with moment.js in a couple of solutions, but non-Netsuite developers are telling me date-fns.js is more intuitive and lightweight than moment.js. Also there are other libraries like sugar.js with functions like "Date.create('last week Friday');" which look like it would be fun to use with N/query or N/search.

    #Javascript UI Libraries #Web Frameworks #JS Library 71 social mentions

Discuss: Any bad experience with libraries such as date-fns.js or sugar.js (instead of moment.js) with Netsuite SuiteScript 2.X? (xposted from /r/Netsuite)

Log in or Post with