필터 지우기
필터 지우기

How to set the date format in the file browser to ISO standard?

조회 수: 4 (최근 30일)
Jonas Stein
Jonas Stein 2022년 12월 5일
답변: Dheeraj 2023년 9월 5일
The file browser in Matlab 2022b uses a strange date format on my Linux machine.
It even uses 2 digits for the year.
TIME_STYLE=iso is set in /etc/locale.conf
The date is printet properly in iso date format when using ls on the bash:
2017-04-17 16:18 Bug_2015-02-26_Test_Helpbrowser.m
  댓글 수: 2
jessupj
jessupj 2022년 12월 5일
fantastic question, although i don't use the file browser so i can only offer emotional support to any and all requests for use of ISO datetime.
Jonas Stein
Jonas Stein 2022년 12월 5일
@jessupj Thanks. If you like the question, you can upvote it.

댓글을 달려면 로그인하십시오.

답변 (1개)

Dheeraj
Dheeraj 2023년 9월 5일
Hi,
I understand you want to change the format of date in the MATLAB file browser to ISO standards.
The date format used by the MATLAB file browser in Linux is determined by your system's locale settings. It appears that your MATLAB installation is using a different date format compared to the ISO format you mentioned.
You can change MATLAB's locale settings to match the ISO date format. To do this, open MATLAB and go to:
Home tab -> Preferences -> MATLAB -> Language and Region.
Here, you can change the Language setting to a locale that uses ISO date format, such as "en_US.UTF-8" for American English with UTF-8 encoding.
You may need to restart MATLAB for the changes to take effect.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by