Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-1462

Countdown Picker returns the wrong values in 1.4.0 & sdk 4

    Details

      Description

      {html}<div><p>A customer submitted a ticket in the helpdesk that with iOS 4
      and 1.4.0 the count down picker is not returning the proper values.
      I see the same behavior.</p>
      CODE
      <p>var win1 = Titanium.UI.createWindow({<br></p> <pre> <code>backgroundColor:'black'</code> </pre> <p>});</p>
      <p>var duration = 60000 * 5; // 5 minutes<br></p>
      <p>var picker = Ti.UI.createPicker({<br></p> <pre> <code>type:Ti.UI.PICKER_TYPE_COUNT_DOWN_TIMER, countDownDuration:duration</code> </pre> <p>});</p>
      <p>picker.selectionIndicator = true;<br></p>
      <p>win1.add(picker);<br></p>
      <p>picker.addEventListener('change',function(e)<br> {</p> <pre> <code>Ti.API.info('value = ' + picker.value);</code> </pre> <p>});</p>
      <p>win1.open({modal:false});<br>
      ########################</p>
      <p>CONSOLE OUTPUT<br>
      <a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> value = Wed Nov 29 0000 23:58:58
      GMT-0800 (PST) <a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> value = Wed Nov 29 0000 23:59:58
      GMT-0800 (PST) <a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> value = Thu Nov 30 0000 00:00:58
      GMT-0800 (PST) <a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> value = Thu Nov 30 0000 00:01:58
      GMT-0800 (PST) <a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> value = Thu Nov 30 0000 00:02:58
      GMT-0800 (PST)</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              ctredway1 ctredway
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-1343
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration