$export($export.P + $export.F * (fails(function () { return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); }) || !fails(function () { TypedArrayPrototype.toLocaleString.call([1, 2]); })), NAME, { toLocaleString: $toLocaleString });
function formatDate(input) { if (!input) { return '' } return (new Date(input)).toLocaleString() }
_timestamp(msg?: string) { return (new Date()).toLocaleString().slice(0, 24); }
launchClock() { setInterval(()=> { console.log('Updating...') this.setState({currentTime: (new Date()).toLocaleString()}) }, 1000) }
launchClock() { console.log(this); setInterval(function(){ console.log('updating...') this.setState({currentTime: (new Date()).toLocaleString()}) }.bind(this), 1000) }
const formatCurrency = (amount, currency) => { return (amount / 100).toLocaleString(getLocaleFromCurrency(currency), { style: 'currency', currency, minimumFractionDigits: 0, maximumFractionDigits: 0, }); }
constructor(props) { super(props) this.launchClock() this.state = { currentTime: (new Date()).toLocaleString() } }
export function formatPrice(cents) { return (cents / 100).toLocaleString("en-US", { style: "currency", currency: "USD" }); }
$export($export.P + $export.F * (fails(function () { return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); }) || !fails(function () { TypedArrayPrototype.toLocaleString.call([1, 2]); })), NAME, { toLocaleString: $toLocaleString });
$export($export.P + $export.F * (fails(function () { return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); }) || !fails(function () { TypedArrayPrototype.toLocaleString.call([1, 2]); })), NAME, { toLocaleString: $toLocaleString });
$export($export.P + $export.F * (fails(function () { return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); }) || !fails(function () { TypedArrayPrototype.toLocaleString.call([1, 2]); })), NAME, { toLocaleString: $toLocaleString });
$export($export.P + $export.F * (fails(function () { return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); }) || !fails(function () { TypedArrayPrototype.toLocaleString.call([1, 2]); })), NAME, { toLocaleString: $toLocaleString });
$export($export.P + $export.F * (fails(function () { return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); }) || !fails(function () { TypedArrayPrototype.toLocaleString.call([1, 2]); })), NAME, { toLocaleString: $toLocaleString });
_timestamp(msg?: string) { return (new Date()).toLocaleString().slice(0, 24); }
constructor(props) { super(props) this.launchClock() this.state = { counter: 0, currentTime: (new Date()).toLocaleString() } }