Skip to content

Commit

Permalink
#12 - feat: fit convention
Browse files Browse the repository at this point in the history
  • Loading branch information
nullist0 committed May 30, 2021
1 parent def775e commit 2e3d3bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/DateRangePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function DateRangePicker({ onChangeRange }) {
editableDateInputs={true}
onChange={item => handleChangeDateRange(item)}
ranges={[dateRange]}
dateDisplayFormat={'yyyy/MM/dd'} />
dateDisplayFormat={'yyyy/MM/dd'}
/>
);
}
1 change: 1 addition & 0 deletions src/dataSource/herokuHolidayDataSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ async function getHolidaysInMonth({ year, month }) {
if (cache[apiUrl] === undefined) {
const { data: { dates } } = await axios.get(apiUrl);
const holidays = dates.map(readDate);

cache[apiUrl] = holidays;
}
return cache[apiUrl];
Expand Down

0 comments on commit 2e3d3bf

Please sign in to comment.