RelativeDateTimeFormatter not available under Linux?

Hi there!

just a quick question.
I was writing on a package that should be deployed on Linux eventually. In my code I'm using the handy RelativeDateTimeFormatter. When I'm trying to run my code on a Docker container (Swift:5.5) I get an error:
error: cannot find 'RelativeDateTimeFormatter' in scope

I made sure to import Foundation.
Is the RelativeDateTimeFormatter not available on Linux?

It does look like it's missing - probably worth a bug on bugs.swift.org

1 Like

Thanks for your answer!
I just discovered that there is already an issue on this:

But it seems that there is no real progress on it :frowning: