Michael Peirce

Results 12 comments of Michael Peirce

Hello! My team has been using a custom i18n solution, but we'd like to switch to using ember-intl. We have a solution for this called t-split. It can take a...

In cases where there's only one type of segment that appears in a particular string, you can leave out the `if`s. ```hbs {{#t-split "translation.key" as |segment|~}} {{~#segment.content as |innerSegment|~}} {{innerSegment.content}}...

It looks like that could work, though that implementation doesn't have quite as much flexibility. You need anything you want to include in `TPlus` to be its own `component`, so...

The rule's [documentation](https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-whitespace-within-word.md) mentions that it's not ideal for some languages, giving Japanese as an example. I think the best solution here is to just turn off the rule if...

This is the expected behavior. When you do `moment.tz(strDate, targetTZ)`, you are telling it to create a moment that has the local time of `strDate` in `targetTZ`, so you get...

I've looked into the code a bit, and it seems that it's doing the conversion in two steps. First it converts the time from `2018-03-11T04:00Z` to `2018-03-10T20:00-08:00`, then it tries...

If you're actively avoiding using `@tracked address`, I think you could do ``` address = this.args.address || this.store.createRecord('address'); ``` in the initial declaration of `address` instead of in the constructor.

I don't think this rule makes sense. There are going to be cases where we want to trigger asynchronous behavior through actions, but this doesn't address how we would do...

> @mongoose700 this rule will be optional, if you don't want it, then you don't have to enable it. Even so, I think it should do a better job at...