anchor/roundtrip-netsuite — pull request #6 by rtrvrtg (2014-12-22 01:32:20+00:00)
Title: Performs regex replacements to make NetSuite datetimes parse

It's pretty horrible, but it's necessary to deal with these gnarly date formats.

During the NS -> UTCTime transformation:
* add leading zeros to day and month fields

During the UTCTime -> NS transformation:
* transform all instances of multiple sequential spaces to single spaces
* remove leading zeros from day and month fields