Tim Wood
Tim Wood
I've started work on this in https://github.com/timrwood/moment-timezone/tree/es6-source if anyone wants to follow along.
As noted at the top of the section in http://momentjs.com/timezone/docs/#/data-utilities/, these utilities are available in `moment-timezone-utils.js`. I think you should be able to load them for use by changing the...
The value passed to `utcOffset` should be a number or offset string, not a timezone name. `utcOffset(0, true)` or `utcOffset('+00:00', true)`.
Ok, I think I see what is going on here. While `utcOffset` is being called, it calls [`moment.updateOffset`](https://github.com/moment/moment/blob/81167a6f7e0dc3fdfbfb11d437a213707e8ff00c/src/lib/units/offset.js#L120) to keep the offset in sync over dst changes. Because the moment...
If you want to display a utc datetime in local time you can do this. ``` js moment.utc('2014-11-21T10:30:00').local().format() // 2014-11-21T04:30:00-06:00 ``` If you want to display a utc datetime in...
Sorry for the delay, I no longer use gulp in any of my projects, so this has kinda been abandoned. I'm happy to transfer ownership if either of you are...
This is possible already doing something like the following. ``` js consolidate('swig', function (file) { return file.data; }); ```
Having `gulp-consolidate` allow a per-file callback is actually more flexible than just assuming a `file.data` property was set by an earlier plugin. I'm hesitant to tie data loading so closely...
No, as far as I am aware, there is no way to introspect a `UIBezierPath` and turn it into an svg path. It might be possible to create a `SVGPathBuilder`...
Yeah, looking at https://www.w3.org/TR/SVG/paths.html#PathDataMovetoCommands, I see the same thing. > If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands. Hence,...