I am using Angular.js with angular-moment and I am trying to display a date in a different timezone:
p(style="font-size: 70%",am-time-ago="thing.date")
I am including moment.js, as well as the moment.js timezone data (this file). In my .html file:
<script src="bower_components/moment/moment.js"></script>
<script src="bower_components/moment-timezone/moment-timezone-with-data.js"></script>
I have also added the configuration in the Angular.js file, as it says on the angular-moment Github page:
angular.module('myApp')
.constant('angularMomentConfig', { timezone: 'America/New_York' })
I have tried quite a couple of permutations up to now, but nothing seems to work. I have no idea what I might be doing wrong, so any suggestion is more than welcome.