Skip to content

bug: datetime year wheel is ordered backwards #27422

Closed

Description

@craigstanton

Prerequisites

Ionic Framework Version

v6.x

Current Behavior

ion-datetime has wheel selectors for days, months and years. Days and months are in ascending order (smallest at the top), but years are in descending order

Expected Behavior

All wheels should be in the same order so scrolling them in one direction consistently moves forward or backwards in time.

Steps to Reproduce

Code Reproduction URL

No response

Ionic Info

onic:

Ionic CLI : 6.11.8 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.5.6
@angular-devkit/build-angular : 14.2.10
@angular-devkit/schematics : 13.3.1
@angular/cli : 14.2.10
@ionic/angular-toolkit : 6.1.0

Capacitor:

Capacitor CLI : 4.7.3
@capacitor/core : 4.7.3

Utility:

cordova-res (update available: 0.15.4) : 0.15.1
native-run : 1.7.2

System:

NodeJS : v18.14.1 (/Users/stantonca/.nvm/versions/node/v18.14.1/bin/node)
npm : 9.3.1
OS : macOS

Additional Information

No response

Activity

  1. averyrousseau commented on May 9, 2023

    @averyrousseau
    Contributor

    Thank you for the issue. I double-checked this using the Reminders app on iOS, and confirmed that the year wheel should indeed go the same way as the other wheels. This applies to both preferWheel="true" presentation="date", and the month/year picker in a grid datetime.

  2. changed the title [-]bug: [/-] [+]bug: datetime year wheel is ordered backwards[/+] on May 9, 2023
  3. added
    package: core
    type: bug
    on May 9, 2023
  4. added a commit that references this issue on May 26, 2023
    2098806
  5. mapsandapps commented on May 26, 2023

    @mapsandapps
    Contributor

    Thanks for the issue! This has been resolved via #27551 and will be available in an upcoming release of Ionic.

  6. ionitron-bot commented on Jun 25, 2023

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  7. locked and limited conversation to collaborators on Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: coretype: bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions