Possible bug in datepicker

Possible bug in datepicker

Not sure if this is a bug, or if I am just doing something wrong/unsupported.

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4.   <meta charset="utf-8">
  5.   <title>jQuery UI Datepicker - Display month &amp; year menus</title>
  6.   <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
  7.   <script src="//code.jquery.com/jquery-1.10.2.js"></script>
  8.   <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
  9.   <link rel="stylesheet" href="/resources/demos/style.css">
  10.   <script>
  11.   $(function() {
  12.     $( "#datepicker" ).datepicker({
  13.       changeMonth: true,
  14.       changeYear: true,
  15.       yearRange: "-20:-02"
  16.     });
  17.   });
  18.   </script>
  19. </head>
  20. <body>
  21.  
  22. <p>Date: <input type="text" id="datepicker"></p>
  23.  
  24.  
  25. </body>
  26. </html>
This is one of the demos from the jqueryui website, with the date range changed from an absolute range to "-20:-02".  When I load this, the range of years is correct (1995-2013), but the first year in the range (1995 currently) appears in the drop-down, and if I immediately select a day (without changing the year), the current year (2015) shows up in the input.  If I select a different year from the drop-down it works correctly, but something is wrong on initialization.

Is this a bug?

Thanks.

Matt