Skip to content

Commit

Permalink
small fixes for changes in pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrothwell committed Dec 20, 2019
1 parent 99169f7 commit cca5017
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/util/generate-billing-xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ export default function (data) {
}

// get the current date/time in iso format with timezone
let timestamp = format(new Date(), 'YYYY-MM-DDTHH:mm:ssZ');
// 2019-11-21T13:19:27-05:00
// 2019-11-21 157436024221613:17:22-05:00
let timestamp = format(new Date(), "yyyy-MM-dd'T'HH:mm:ssxxx");
console.log('timestamp in realestatetax gb:', timestamp);

// TODO use a json to xml lib instead of forming this string?
const xmlString = `<?xml version="1.0" encoding="utf-16"?>
Expand Down

0 comments on commit cca5017

Please sign in to comment.