Announcement

Collapse
No announcement yet.

How can DateTime.ToString("ddd dd.MM.yyyy") return german day and month names?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    How can DateTime.ToString("ddd dd.MM.yyyy") return german day and month names?

    How to get the localized german names for days and months if I use e.g.: DateTime.ToString("ddd") in Bridge.Net?

    #2
    Hi,
    Please use locales global property in Bridge.json
    See https://github.com/bridgedotnet/Brid...ration#locales

    Comment


      #3
      Thanks for the quick help. With

      "locales": "de-DE", //In bridge.json
      I get the de-DE.js file which I can include in my index.html and than I can set

      CultureInfo.CurrentCulture = new CultureInfo("de-DE");
      on statup and I get the german days and month names...

      Comment

      Working...
      X