jquery.ui.datepicker 2.0

Created on 15 November 2023, over 1 year ago

Love the simplicity of this module.

Would it be possible to have this module work with jquery.ui.datepicker 2.0? Other modules are now depending on 2.0 and I dont believe you can have two versions on the one site.

✨ Feature request
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia prjcarr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @prjcarr
  • πŸ‡¦πŸ‡ΊAustralia prjcarr
  • πŸ‡ΊπŸ‡ΈUnited States generalredneck Texas, USA πŸ‡ΊπŸ‡Έ

    So when I did testing of the Drupal 11 version I was using datepicker 2.* because centarro/commerce-kickstart-project had it installed. I went to install the new 1.1.1 version and I got

    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Root composer.json requires drupal/commerce_timeslots ^1.1.1 -> satisfiable by drupal/commerce_timeslots[1.1.1].
        - drupal/commerce_timeslots 1.1.1 requires drupal/jquery_ui_datepicker ^1.2 -> found drupal/jquery_ui_datepicker[dev-1.x, 1.2.0, 1.3.0, 1.4.0, 1.x-dev (alias of dev-1.x)] but it conflicts with your root composer.json require (^2.1).
    

    The diff in the code is like so:
    https://git.drupalcode.org/project/jquery_ui_datepicker/-/compare/8.x-1....

    Even though there are a lot of changes... It seems to be working well for me at least on the checkout after the changes made in the latest release. I'm not sure if there are other places datepicker should be used besides in the cart pane.

    I think that updating it to match kickstarter...

    centarro/commerce-kickstart-project dev-main requires drupal/jquery_ui_datepicker (^2.1) 
    

    would work.

  • Merge request !10upgrading datepicker β†’ (Merged) created by generalredneck
  • πŸ‡ΊπŸ‡ΈUnited States generalredneck Texas, USA πŸ‡ΊπŸ‡Έ

    To test add

            "commerce_timeslots": {
                "type": "vcs",
                "url": "https://git.drupalcode.org/issue/commerce_timeslots-3401757.git"
            },
    

    to your repositories

    and require
    composer require "drupal/commerce_timeslots:dev-3401757-date-picker-upgrade"

  • πŸ‡²πŸ‡©Moldova andrei.vesterli Chisinau

    andrei.vesterli β†’ made their first commit to this issue’s fork.

  • Pipeline finished with Skipped
    1 day ago
    #498987
  • Pipeline finished with Skipped
    1 day ago
    #498989
  • πŸ‡²πŸ‡©Moldova andrei.vesterli Chisinau

    Looks legit! Going forward with this!

Production build 0.71.5 2024