timrwood / moment-es6

MIT License
3 stars 0 forks source link

Feedback about global locale setters #5

Open timrwood opened 9 years ago

timrwood commented 9 years ago

global locale -- I think it should be a moment property. I know that theoretically speaking the more private stuff the better. But to ease debugging and extensibility -- the more stuff is accessible (and changeable) the better. I had an idea to put all "private" utils methods prefixed with underscore under moment, so they could be used (for hard core cases), changed etc. That is not desirable for libraries, but for end users who want to get the job done its perfect.

via @ichernev