Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.89k stars 605 forks source link

builder: support building Date object #510

Open peat-psuwit opened 5 years ago

peat-psuwit commented 5 years ago

Xml2Js is made to support outputting Date object as XML's dateTime, which is an ISO8601 format string. So, Date's toISOString() is used.

P.S.: I'm not sure how to document this, so no documentation is given.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.01%) to 97.647% when pulling 55b032e357bd6f3cb2f05415da4baffba8d44c73 on peat-psuwit:support-building-date into 0f0a2980b3db5366b3d50e4d0da422cb7af100c9 on Leonidas-from-XIV:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.01%) to 97.647% when pulling 55b032e357bd6f3cb2f05415da4baffba8d44c73 on peat-psuwit:support-building-date into 0f0a2980b3db5366b3d50e4d0da422cb7af100c9 on Leonidas-from-XIV:master.

piyush-ramavat commented 4 years ago

Any idea when this change will be merged? Date handling is a must have in XML parser.

Thanks