Skip to content

Commit

Permalink
Merge pull request kaogeek#13 from bouroo/develop
Browse files Browse the repository at this point in the history
πŸ› Y-m-d timeline
  • Loading branch information
nitikornbunya committed Jul 8, 2023
2 parents 76e1111 + 67ab8f6 commit 44c9ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/monday-fetcher/transforms/promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function convertRangeToFromTo(value: string): {
function convertDateToISOFormat(date: string): string {
const splited = date.split('/');
if (splited.length === 3) {
const [day, month, year] = splited;
const [year, month, day] = splited;
return `${year}-${month}-${day}`;
} else if (splited.length === 2) {
const [month, year] = splited;
Expand Down

0 comments on commit 44c9ac2

Please sign in to comment.