Greasyfork - DD/MM/YYYY

Changes the date to the european standard

// ==UserScript==
// @name         Greasyfork - DD/MM/YYYY
// @version      1.0.1
// @description  Changes the date to the european standard
// @author       Cpt_mathix
// @match        https://greasyfork.org/*
// @grant        none
// @namespace    https://greasyfork.org/users/16080
// ==/UserScript==

(function() {
    var elements = document.querySelectorAll('gf-relative-time');
    for (var i = 0; i < elements.length; i++) {
        elements[i].innerHTML = new Date(elements[i].getAttribute("datetime")).toLocaleDateString("fr");
    }
})();