Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.4K Views
|
3 Replies
|
1 Total Like
View groups...
Share
Share this post:

Unknown time zone America/Nuuk

Posted 2 years ago

Hi, there seems to be trouble with mathematica's handling of time zones:

Entity["City", {"Nuuk", "Sermersooq", "Greenland"}]["TimeZone"]

will give "America/Nuuk" as result. But trying to construct a DateObject using this time zone produces an error:

DateObject[{2023, 3, 30}, TimeZone -> "America/Nuuk"]
DateObject::zone: Argument America/Nuuk in DateObject is not a recognized TimeZone specification.

Is this a bug?

POSTED BY: Bernd Günther
3 Replies
Posted 2 years ago

Thanks, Rohit! I did report it to Wolfram Support.

POSTED BY: Bernd Günther
Posted 2 years ago

Looks like there are four "bugs"

Quiet@Check[DateObject[{2023, 3, 30}, TimeZone -> #], #] & /@ EntityList["TimeZone"] // 
Select[MatchQ[#, _Entity] &]

Bernd, you should report this to Wolfram Support.

POSTED BY: Rohit Namjoshi
Posted 2 years ago

Hmm, seems like a bug to me.

POSTED BY: Eric Rimbey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard