Andrew Plummer

Results 205 comments of Andrew Plummer

Thanks for this! I'll have a look into it but at first glance this looks like a case of Sugar not recognizing the format and falling back to native date...

I think the impact of not falling back would essentially be minimal for English, however other locales may be more affected where I'm not as confident in the format coverage....

Sugar as of 2.0 has 3 methods of interaction: static, chainable, and extended. There essentially is one rule governing the different use of these methods, which is that static methods...

Out of curiosity have you visited the site's [Dates](https://sugarjs.com/dates/) page yet? I'm thinking that maybe having better docs on this page will help make this easier to understand.

One other potential idea (mostly musing here): Maybe the majority of this confusion comes from the naming `create`, because `Sugar.Date.create()` essentially reads as "create a Sugar date" (as opposed to...

It's been ages but just a note that I'm going to have a look at how to make this clearer in the next version...

Out of curiosity, how did you come across the `params` feature? Was it through the documentation? This is a nearly hidden feature that was added as an afterthought, so I'm...

One issue that I had not foreseen when adding this option is the fact that params may be a mix of relative and absolute (your example is a good example...

To be perfectly honest, "specificity" is more of an internal construct that wasn't intended to be exposed, so I'm not sure we should be doing that.

That said, it is quite useful... One idea, what about another parameter like `relativeIndex` to match `specificity` (maybe `specificityIndex` is better?) that indicates up to which parameter is relative. It...