Created
April 26, 2016 22:25
-
-
Save Juxtaposeidon/ea47f8809e3d9dd2924bb75aabeff8f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| main.js | |
| window.getLocalZone = function getLocalZone (time) { | |
| return moment.unix(time).tz(userzone).format('ha z MMMM DD, YYYY') | |
| } | |
| View | |
| script. | |
| window.getLocalZone(1312312312) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment