Skip to content

Records Date to Firebase when only Time is chosen #1304

@ALazutin10

Description

@ALazutin10

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When using the Date/Time pick action, and time only is selected, upon submitting to the database (create document), by picking " "Date Picked" - that is just the calendar/time selection, it records both date and time when it should be just time. Only time is selected by the user.

Expected Behavior

Expect only the time to be recorded into the database since only time was selected, not date.

Steps to Reproduce

  1. Create new page
  2. Add a text or button and add the action to select Date/Time Picker
  3. Select Time is picker type
  4. Add a button to create a document and record Date Picked
  5. Test the set up, as a user, select a time and submit to create doc
  6. See in the database that both Date and Time are recorded when only time was picked

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITFXlvHlz85IvuZE7qrycMF4iWIwGUwbUOc7j9VEGAsjCePwOokxdczRahRVWOqHeXw/M1eipE8CpOyMiITxC8Y3OUuafqZ4zc9TUxDgWnumeLKyPLi3OH96BcpTGGqc38OJvBV+NftiSU462Uy2FuyQa3qCf9qOYwx5e6fDbOY=

Context

The bug report code is for an action, not a widget.
It has affected our booking system since a user sets working hours that are applicable on multiple dates, not specific ones. It stalls the core performance of our application, because of this, availability is not shown.

Visual documentation

Screenshot 2023-08-17 at 20 22 47 Screenshot 2023-08-17 at 20 24 35

Additional Info

No response

Environment

- FlutterFlow version: 3.10.4
- Platform:MacOS Desktop
- Browser name and version:
- Operating system and version affected:

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions