Moment.js converted to native Web Components