Changeset 1982 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/archive-meeting.php
- Timestamp:
- 10/15/2015 05:15:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/archive-meeting.php
r1649 r1982 53 53 return d; 54 54 } 55 var format_date = function (d) { 56 var p = function(n) {return ('00'+n).slice(-2); }; 57 var tz = -d.getTimezoneOffset()/60; 58 if (tz>=0) { tz = "+"+tz; } 59 return ""+timestrings['months'][d.getMonth()]+" "+p(d.getDate())+", "+d.getFullYear()+" "+p(d.getHours())+":"+p(d. getMinutes())+" UTC"+tz; 55 var format_date = function (d) { 56 return d.toLocaleTimeString(navigator.language, {weekday: 'long', month: 'long', day: 'numeric', year: 'numeric', hour: '2-digit', minute:'2-digit', timeZoneName: 'short'}); 60 57 } 61 58 var nodes = document.getElementsByTagName('abbr');
Note: See TracChangeset
for help on using the changeset viewer.