-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixing mismatch of schedule field value in clicksend destination (…
…#3975) * fix: fixing mismatch of schedule field value in clicksend destination due to different timezone * fix: calculating everything in utc and added unit test
- Loading branch information
1 parent
e4838da
commit 12e8a52
Showing
4 changed files
with
45 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ export const track = [ | |
body: 'abcd', | ||
from: '[email protected]', | ||
name: 'new campaign', | ||
schedule: 1631201576, | ||
schedule: 1611761576, | ||
}, | ||
userId: '', | ||
}), | ||
|
@@ -227,7 +227,7 @@ export const track = [ | |
from: '[email protected]', | ||
from_email: '[email protected]', | ||
custom_string: 'test string', | ||
schedule: 1631201576, | ||
schedule: 1611761576, | ||
source: 'php', | ||
to: '+9182XXXX068', | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,7 +121,7 @@ export const data = [ | |
from: '[email protected]', | ||
list_id: 123345, | ||
name: 'new campaign', | ||
schedule: 1631201576, | ||
schedule: 1611761576, | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|
@@ -160,7 +160,7 @@ export const data = [ | |
email: '[email protected]', | ||
from: '[email protected]', | ||
from_email: '[email protected]', | ||
schedule: 1631201576, | ||
schedule: 1611761576, | ||
source: 'php', | ||
to: '+9182XXXX068', | ||
}, | ||
|
@@ -373,7 +373,7 @@ export const data = [ | |
from: '[email protected]', | ||
list_id: 123345, | ||
name: 'new campaign', | ||
schedule: 1631201576, | ||
schedule: 1611761576, | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|
@@ -412,7 +412,7 @@ export const data = [ | |
email: '[email protected]', | ||
from: '[email protected]', | ||
from_email: '[email protected]', | ||
schedule: 1631201576, | ||
schedule: 1611761576, | ||
source: 'php', | ||
to: '+9182XXXX068', | ||
}, | ||
|
@@ -422,7 +422,7 @@ export const data = [ | |
email: '[email protected]', | ||
from: '[email protected]', | ||
from_email: '[email protected]', | ||
schedule: 1631201576, | ||
schedule: 1611761576, | ||
source: 'php', | ||
to: '+9182XXXX068', | ||
}, | ||
|
@@ -432,7 +432,7 @@ export const data = [ | |
email: '[email protected]', | ||
from: '[email protected]', | ||
from_email: '[email protected]', | ||
schedule: 1631201576, | ||
schedule: 1611761576, | ||
source: 'php', | ||
to: '+9182XXXX068', | ||
}, | ||
|