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

Android: localized date/time format should default to numeric

    Details

    • Story Points:
      5

      Description

      Run the following code on your web-browser, iOS and Android:

      new Date(2020, 11, 9).toLocaleDateString('en');
      

      The results are:

      • Web: 12/9/2020
      • iOS: 12/9/2020
      • Android: 12/9/20 <-- YY instead of YYYY

      It seems like Android uses the wrong year format.

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Gary Mathews
              Tester:
              Satyam Sekhri
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration