askvortsov I'll default that to use 'D MMM' as that seems to be the more common one?
moment().format('MMMM Do YYYY, h:mm:ss a'); // December 9th 2022, 9:37:39 am
moment().format('dddd'); // Friday
moment().format("MMM Do YY"); // Dec 9th 22
moment().format('YYYY [escaped] YYYY'); // 2022 escaped 2022
moment().format(); // 2022-12-09T09:37:39+08:00
Our core doesn't seem to be able to recognize "Do" code.
Like a Chinese site, we can easily change it to "MMM Do "
moment().format("MMM Do "); // 12月 9日
It will be easier to understand. If you choose English, it will be like "Dec 9th", and most of them can be understood.
In order to solve the problem of Chinese date display, we are used to changing "D MMM" to "ll"
But this loses the flexibility of the original design
If w can use "Do", it will be very friendly to non-English languages.