Timestamp format

Hi @usmanalikhan,

for a one doctype, then is possible :sweat_smile:

Please apply the client script. Here i applied for customer.

frappe.ui.form.on('Customer', {
    refresh: function(frm) {
        var timestamps = $(".frappe-timestamp");
        timestamps.each(function(index, element) {
            var timestamp = $(element).data("timestamp");
            $(element).text(timestamp);
        });
    }
});

Output:

I hope this helps.

Thank You!

3 Likes