os. Everything works fine but when i want to convert a DateTime object to PersianDateTime an exception occurres which says 'Iran Standard Time' is not defined in /usr/share/timezone/ . And that is correct because iran timezone in Linux defined as 'asia/tehran'. How can i target linux timezone in c# ?
Btw i ran my linux container in windows.
Solved. I just changed timezoneinfo
Обсуждают сегодня