open-polito / open-polito

The unofficial, open-source app for PoliTo students. Available for mobile, desktop & web.

Home Page:https://open-polito.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jump to date's popup cancel button has wrong behavior

ilovelinux opened this issue · comments

Describe the bug
On timetable there's a button that opens a calendar popup to jump to a specific date, but when you click on "cancel" button, it will jump to today's date instead of do nothing.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Timetable'
  2. Click on 'Jump to date'
  3. Choose a random date in the future or in the past (at least 1 week before/after the day's date) and confirm
  4. Click again on 'Jump to date'
  5. Click on 'Cancel'

Expected behavior
Date shouldn't be changed.

This seems to have been fixed by downgrading @react-native-community/datetimepicker in c4b79b5