When I write this code date set to something like that "12/12/2018 20:08" and it's ok
{
var newCulture = new CultureInfo("en-GB");
var date = (value as DateTime?)?.ToString(newCulture.DateTimeFormat.ShortDatePattern+" HH:mm", CultureInfo.InvariantCulture);
}
but when i change culture name to "en-Us" the result is "12.12.2018 20:08" (not right format as i know) -returning date format of ShortDatePattern is not right
I test it on another desktop, and there it works right with 2 of them. May be there is some kind of dependence on desktop settings? Why date formats are various?