Is there any possiblity to create Moment object instance that represents local date/time based on given values?
I mean: user provides (via picker) values for year, month, day, hour, minutes, and I want to create Moment from these data.
I found (undocumented) function Gregorian.momentNative, that does exactly that, but it looks like it creates UTC time.
For example: here in middle Europe in Summer, if I call momentNative(2016, 9, 19, 0, 0, 0), it will create Moment with UTC time 00:00,
but in local time it is in fact 2:00 AM. So Gregorian.info() will return 2016-09-19 02:00.
I tried to calculate offset comparing Gregorian.info() with Gregorian.utcInfo(), but it got too complicated...