Skip to content

Commit 6f68ad6

Browse files
fix date format
1 parent 9842839 commit 6f68ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/eSignature/examples/listEnvelopes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const listEnvelope = async (args) => {
3232
// a set of envelopeIds. Here we filter using a from_date.
3333
// Here we set the from_date to filter envelopes for the last month
3434
// Use ISO 8601 date format
35-
let options = { fromDate: moment().subtract(30, 'days').format() };
35+
let options = { fromDate: moment().subtract(30, 'days').format('YYYY-MM-DD') };
3636

3737
// Exceptions will be caught by the calling function
3838
//ds-snippet-start:eSign3Step2

0 commit comments

Comments
 (0)