• Robert Knight's avatar
    Use Date.toLocaleString()'s options arg for more control over date formatting · a7c6ee0b
    Robert Knight authored
    A downside of using the browser intl APIs to avoid the overhead
    of Moment.js is that the output is implementation dependent.
    
    Use toLocaleString()'s options argument where supported
    (Firefox, Chrome, Edge, IE 11) for more control over formatting
    of dates in annotation last-updated tooltips.
    
    Safari is the only modern browser currently lacking support
    for this option. For Safari, use toDateString() and toLocaleDateString()
    which generates the most similar format.
    a7c6ee0b
Name
Last commit
Last update
h Loading commit data...
scripts Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
package.json Loading commit data...