sgrebnov / jqmobile-wp8-theme

22 stars 10 forks source link

Regional default date formats aren't working #44

Open govindk22 opened 11 years ago

govindk22 commented 11 years ago

When Regional settings as UK the default date format is not working. I am using $('#txtDate').scroller({ mode: 'clickpick' }); to show DatePicket.

Can you please guide how to pass system date format to plugin.

Thanks

sgrebnov commented 11 years ago

Hi @govindk22, could you please help with the repro steps. I tried the following and was unable to repro the problem. Could you please also tried the following build and let me know if there is the same issue at this build http://sgrebnov.github.com/jqmobile-wp8-theme/samples/jQMThemeForWP8.xap

My repro steps

  1. Set UK as regional settings (Windows Phone 8->settings->language+region->Regional format = UK(English))
  2. Create new PhoneGap app (2.7)
  3. Install jQM theme: Install-Package jQMThemeForWindowsPhone8 Rename themeStartPage.html->index.html Rename config_jQM.xml->config.xml
  4. Start the app, navigate to Plugins/DateTime Picker
  5. DateTime picker works as expected

It will be great if you share some sample app with the problem and the screenshot of the Regional settings on the device.