You must Sign In to post a response.
  • Category: Silverlight

    DatePicker Problem for Finnish culture

    Hi,
    I am working on one project which contains DatePicker control. It is working fine with every culture that we pass. But in windows 10, for the Finnish language culture has been changed i.e. they are using dot(.) separator every where for datetime format eg. 5.17.2016 12.00.00 AM. I mean for time we normally use colon(:) sign, But in windows 10 it has been replaced.
    As I heard that they will release the package in .NET framework 4.6.1. I think it is still coming.
    Please suggest what to do.
  • #765967
    what is the issue with DOT, or you need Colon there ?
    Just try to modify the local date time to DOT format and see if it works
    Please elaborate the issue, so that we can help you better to resolve the same.

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #765968
    Hi

    in local Control palnel -> Regional Setting change your format.

    in server go to settings for DateandTime Format change them,

    Name : Dotnet Developer-2015
    Email Id :kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #765975
    I've already update the system regional settings. The main issue is with DOT sign. In earlier .NET version we use colon with time i.e. h:mm:ss. But in Finnish and some other culture for windows 10 Microsoft have updated the time setting as h.mm.ss; that is actually my problem

  • #765991
    Hi
    check your data format setting separator setting (: to .)

    Name : Dotnet Developer-2015
    Email Id :kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #765992
    As you heard that they will release the package in .NET framework 4.6.1. I think it is still coming. We can have to do some hot fix in your code. you can do some temp fix for Finnish. But is it based on your code complexity.
    If you have some simple code you can do some temp fix for now. Once you get release you can remove that.

    By Nathan
    Direction is important than speed

  • #765994
    Hi,
    If you are using jQuery datepicker, try including the localization in your page:
    <script type="text/javascript"
    src="https://raw.githubusercontent.com/jquery/jquery-ui/master/ui/i18n/datepicker-fr.js">
    </script>

  • #766001
    Yes, I agree with you Nathan, we can write the hack code. But main problem is that we have to do through out the application where we are doing the code like

    DateTime.Parse()

    It will create the problem. I mean throughout the application is bit tricky.


Sign In to post your comments