Read the statement by Michael Teeuw here.
Any plan to replace "request" and "moment"?
-
@mmrize said in Any plan to replace "request" and "moment"?:
@sdetweil said in Any plan to replace "request" and "moment"?:
what day of the week is 1/1, subtract that from 7, and then that is the start of the weekly cycle.
ISOWeek is easy. Conventional week is the problem.
For example, in the United States, Sunday is the first day of the week. The week with January 1st in it is the first week of the year.
In France, Monday is the first day of the week, and the week with January 4th is the first week of the year. It means January 1st could be the last week of the last year sometimes. And Jan. 10th could be the first week in certain year.
And in other countries, there is also their own rule.
This might be important in some European countries, because they use week number in real life (“my vacation ends 23. Weeks“)
Moment handles this automatically. Everyone else, not so much.
-
@bkeyport many do, and you are not alone.
But how many people are running MM in a safari browser?I guess this is the relevant point here :)
-
@0m4r When I’m testing something, I’ll load it up on my local machine, which is a Mac, and yes, I use Safari. :)
-
@bkeyport same for me, even tho I am aware like 99% of MM users are running it out of a raspberry pi with a Chromium browser.
That is the reason I say the main focus could be on Chromium-based browsers rather than others. -
I’m using Brave which is Chrome based without all the tracking and such ;)
-
@cowboysdude technically it is based on Chromium (https://www.chromium.org/).
-
@bkeyport I wouldn’t worry about it. Moment will be around for a while. Easy to use and yes you can add it to your own package json file and still use it.
Request…not so much LOL
-
@0m4r meh either way LOL
-
@cowboysdude Been playing with changing over anyway (to luxon), and all I’ve been able to do for sure is make MM not come up at all.
There needs to be MUCH better documentation on how to build out with external modules. It don’t make sense.
-
@bkeyport explain more. externals are used in node_helper, and some can be used in module name.js as loaded by getScripts()
if the lib shows useage as a < script … />
link, then u can use it in getScripts