You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the default timezone via repo2docker, MATLAB returns
Error using datetime (line 551)
The system time zone setting, '/UTC', is not valid. See the datetime.TimeZone
property for details about specifying time zones.
To Repeat:
Create a new MATLAB Desktop R2020b tale
Run datetime(2014,3,8:9,6,0,0,'TimeZone','local', 'Format','d-MMM-y HH:mm:ss Z')
Run system("cat /etc/timezone") returns /UTC
MATLAB doesn't seem to handle the /UTC value instead expecting UTC.
Possible solutions
Don't use local...
Specify UTC timezone during r2d build either generally or in MATLAB buildpack, since it's the only one that cares
Mount host timezones during container start
The text was updated successfully, but these errors were encountered:
Problem
Reported via Slack:
When using the default timezone via
repo2docker
, MATLAB returnsTo Repeat:
datetime(2014,3,8:9,6,0,0,'TimeZone','local', 'Format','d-MMM-y HH:mm:ss Z')
system("cat /etc/timezone")
returns/UTC
MATLAB doesn't seem to handle the
/UTC
value instead expectingUTC
.Possible solutions
local
...The text was updated successfully, but these errors were encountered: