JSFiddle - React, Tailwind, and code Playground
HTML
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js"></script>
<script src="http://momentjs.com/downloads/moment-timezone-with-data.min.js"></script>
JavaScript
// Capture current time
var now = Date.now();
console.log(now);
// Create moment object
var date = moment(now);
console.log(date); // moment object
// zoneAbbr does not work here
console.log(date.zoneAbbr()); // ""
var zone = date.zone();
console.log(zone); // 480
// How can I get the zone abbreviation?
// This gets what I want, but I don't want to hard-code a timezone name
var hardcoded = moment(now).tz("America/Los_Angeles").zoneAbbr();
console.log(hardcoded);