Matt Johnson mj1856

Organizations

Microsoft patterns & practices Moment.js Microsoft Microsoft Azure
mj1856 closed issue dotnet/coreclr#353
Matt Johnson
Bug in System.Globalization.PersianCalendar
mj1856 commented on issue moment/moment#2163
Matt Johnson

In the meantime, you can work around it with something like this: var localeData = moment.localeData(); console.log(localeData.longDateFormat("LLLL…

mj1856 commented on issue moment/moment#2163
Matt Johnson

Sorry for the delay. Yes, I agree - this should be fixed.

Matt Johnson
Cannot read property 'tz' of undefined
mj1856 commented on issue moment/moment-timezone#181
Matt Johnson

If you call moment.tz(...) and get "can't read property tz of undefined" - that means that moment is undefined. You simply need to install both mom…

mj1856 closed issue moment/moment#2244
Matt Johnson
Bug in Firefox, time returned as "Invalid Date"
mj1856 commented on issue moment/moment#2244
Matt Johnson

Since you know the value is returned in a specific format, I recommend you supply the format string. That will remove all ambiguity and will parse …

Matt Johnson

Also occurs in WE2015.0 CTP 6. Should I create a separate issue in the WE2015 repo?

mj1856 commented on issue dotnet/coreclr#353
Matt Johnson

Note, according to MSDN: A leap year is a year that, when divided by 33, has a remainder of 1, 5, 9, 13, 17, 22, 26, or 30. For example, the year …

mj1856 opened issue dotnet/coreclr#353
Matt Johnson
Bug in System.Globalization.PersianCalendar
mj1856 commented on issue moment/moment#2223
Matt Johnson
Matt Johnson
mj1856 commented on issue moment/moment#2243
Matt Johnson

This appears to be specific to Russian locale. I tried with English and it works. Verified it fails with Russian.

mj1856 commented on issue moment/moment-timezone#150
Matt Johnson

The moment constructor function would need additional logic to interpret whether the supplied string looked like a time zone instead of a valid for…

Matt Johnson
Revisit Australian time zone abbreviations
mj1856 closed issue moment/moment#2238
Matt Johnson
Is it possible to set the timezone globally for all moment methods?
mj1856 commented on issue moment/moment#2238
Matt Johnson

Yes. Use the moment-timezone addon, and refer to these docs.

mj1856 closed issue moment/moment#2223
Matt Johnson
Problem with Etc/GMT+X
mj1856 commented on issue moment/moment#2223
Matt Johnson

This is by design in the tzdb. See the last paragraph under "Area" in the Wikipedia article. See also the comments in the tzdb itself

mj1856 closed issue moment/moment#2229
Matt Johnson
Problem with time zone conversions
mj1856 closed issue moment/moment#2242
Matt Johnson
How to convert just the hour from local to UTC and back
mj1856 commented on issue moment/moment#2242
Matt Johnson

There's very little need to ever pass a moment object back into the moment constructor. To convert from local to utc: moment(<some local input>).ut…

mj1856 deleted branch dst at mj1856/momentjs.com
Matt Johnson
mj1856 closed issue moment/moment#2240
Matt Johnson
[Documentation] Daylight Savings Time is not the correct spelling
mj1856 merged pull request moment/momentjs.com#177
Matt Johnson
Be consistent about DST terminology
1 commit with 4 additions and 4 deletions