Update getISO8601StringTzAware.md

This commit is contained in:
RanadeepPolavarapu
2020-10-06 20:47:12 -04:00
committed by GitHub
parent 866d3de646
commit ccdb1019bb

View File

@ -18,7 +18,6 @@ const getISO8601StringWithTz = (d) => {
const dif = tzo >= 0 ? '+' : '-'; const dif = tzo >= 0 ? '+' : '-';
const pad = (num) => { const pad = (num) => {
const norm = Math.floor(Math.abs(num)); const norm = Math.floor(Math.abs(num));
// tslint:disable-next-line:no-magic-numbers
return (norm < 10 ? '0' : '') + norm; return (norm < 10 ? '0' : '') + norm;
}; };
return ( return (