Skip to content

Commit

Permalink
#88 pick second day string
Browse files Browse the repository at this point in the history
  • Loading branch information
io53 committed Mar 6, 2024
1 parent 2fd1ab2 commit f90a748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DatePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function DatePicker(props) {
let footer = <p {...footerProps}>{t("pick_first_day")}</p>;
if (range?.from) {
if (!range.to) {
footer = <p {...footerProps}>{ddmm(range.from)}</p>;
footer = <p {...footerProps}>{t("pick_second_day")}</p>;
} else if (range.to) {
footer = (
<p {...footerProps}>
Expand Down

0 comments on commit f90a748

Please sign in to comment.