гайс, всем привет (снова). есть число, допустим 1000. представим его как количество дней. представим что в году всегда 365 дней, а в месяце 30. как вычислить их количество? что-то не соображу
However, Moment.js has too many drawbacks compared to modern date and time libraries. Its API is not immutable, it is large and it doesn’t support tree shaking. Even the Moment team discourages to use their library in new projects.