Has INTL been taken off the latest version of Postman?

Hi all,

I’ve just noticed that the intl no longer exists in the latest version (7.35.0).
Has anybody also encountered this and any way to get it back?

I have the same issue.

Does anyone know how to fix this?

Same here. It has broken my scripts, can’t run them now

The JS Intl API was never intended to be exposed in the sandbox and wasn’t ever included in the official Postman documentation, as something to use within Postman. This has been removed in the latest version of the app.

You can achieve the same output from either using vanilla JS or using the moment module, that is included and documented, to create the date object that you can use with your requests.

https://momentjs.com/docs/

Thanks for reply.
I will switch to Moment.js
Just one quick question. Is there any way to define timezone in Moment or is possible to use moment timezone in Postman: https://momentjs.com/timezone/ ??

I was using the Intl to format a number as a currency, and from what I can tell moment only deals with dates and times. Is there another way I can easily take a numeric value like ‘1000.5’ and convert it ‘$1,000.50’?

const formatter = new Intl.NumberFormat('en-US', {
        style: 'currency',
        currency: 'USD',
        minimumFractionDigits: 2
})

Hi Danny,

we are using Intl in Postman to test the - country specific - alphabetical sorting of our search service.

Is there any chance we can get Intl back? Or do you have an idea for an alternative approach to alphabetical sorting?

Thanks in advance!

I don’t believe that it will be getting put back in - not in the short term at least.

I’m sure what you’re actually doing to begin to provide an alternative solution :grin: - Do you want to explain the problem and give an example?