Safari Technology Preview 110 Released, Enables Intl.RelativeTimeFormat API

Browser News

Safari Technology Preview 110 was released on 16th July, 2020.

Major web platform updates include :

  • Support for Intl.RelativeTimeFormat. This can be used to show relative time through native Javascript (1 day ago, 1 min ago, Yesterday etc) without using external libraries such as moment.js

    let time = new Intl.RelativeTimeFormat('en');
    
    // "5 minutes ago"
    console.log(time.format(-5, 'minute'));
    
  • Support for referrerpolicy attribute for <link> tag.
  • Updates to WebRTC API
  • And more.

Read complete blog post on webkit.org

These features should probably be included in the upcoming version of Safari.

July 17, 2020

Comments

Loading Comments