We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure how to create a pull request for this; but this works for me to parse a "MM/DD/YYYY" date.
const moment = require('moment'); function parseValue(recordValue, mappingObject) { if(mappingObject.format === 'jsDate') { // convert millisconds to nanoseconds return (new Date(recordValue).getTime()) * 1000 * 1000; } if(mappingObject.format != '') { return (moment(recordValue,mappingObject.format)) * 1000 * 1000; } return recordValue; }
The text was updated successfully, but these errors were encountered:
Hi @nzidol! Do you need help with opening pull request?
Sorry, something went wrong.
@nzidol is it fun for learn it? Cuz if you just want to see it working, we can make a PR for you
No branches or pull requests
Not sure how to create a pull request for this; but this works for me to parse a "MM/DD/YYYY" date.
The text was updated successfully, but these errors were encountered: