mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-21 18:06:42 +00:00
Format certificate dates in UTC (#763)
This commit is contained in:
parent
c2b2360689
commit
e8924dcbd7
@ -64,14 +64,14 @@
|
||||
data: 'beginValidity',
|
||||
searchable:false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(full.beginValidity);
|
||||
return formatCertificateDate(full.beginValidity);
|
||||
}
|
||||
},
|
||||
{
|
||||
data: 'endValidity',
|
||||
searchable:false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(full.endValidity);
|
||||
return formatCertificateDate(full.endValidity);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -56,14 +56,14 @@
|
||||
data: 'beginValidity',
|
||||
searchable:false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(data);
|
||||
return formatCertificateDate(data);
|
||||
}
|
||||
},
|
||||
{
|
||||
data: 'endValidity',
|
||||
searchable:false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(data);
|
||||
return formatCertificateDate(data);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -79,14 +79,14 @@
|
||||
data: 'beginValidity',
|
||||
searchable:false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(full.beginValidity);
|
||||
return formatCertificateDate(full.beginValidity);
|
||||
}
|
||||
},
|
||||
{
|
||||
data: 'endValidity',
|
||||
searchable:false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(full.endValidity);
|
||||
return formatCertificateDate(full.endValidity);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -101,7 +101,7 @@
|
||||
|
||||
//Format validity time
|
||||
$("#validity span").each(function(){
|
||||
$(this).text(formatDateTime($(this).text()));
|
||||
$(this).text(formatCertificateDate($(this).text()));
|
||||
});
|
||||
|
||||
//Convert byte array to string
|
||||
@ -120,14 +120,14 @@
|
||||
data: 'beginValidity',
|
||||
searchable:false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(full.beginValidity);
|
||||
return formatCertificateDate(full.beginValidity);
|
||||
}
|
||||
},
|
||||
{
|
||||
data: 'endValidity',
|
||||
searchable:false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(full.endValidity);
|
||||
return formatCertificateDate(full.endValidity);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -100,7 +100,7 @@
|
||||
name: 'createTime',
|
||||
searchable: false,
|
||||
render: function (data, type, full, meta) {
|
||||
return formatDateTime(full.createTime);
|
||||
return formatCertificateDate(full.createTime);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user