Update getISO8601StringTzAware.md
This commit is contained in:
committed by
GitHub
parent
866d3de646
commit
ccdb1019bb
@ -18,7 +18,6 @@ const getISO8601StringWithTz = (d) => {
|
||||
const dif = tzo >= 0 ? '+' : '-';
|
||||
const pad = (num) => {
|
||||
const norm = Math.floor(Math.abs(num));
|
||||
// tslint:disable-next-line:no-magic-numbers
|
||||
return (norm < 10 ? '0' : '') + norm;
|
||||
};
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user