* empty commit
* Add missing copyright headers
* chore: 🤖 update copywrite config file with correct year
* Add missing copyright headers
* empty commit (gh action merge checks are stuck)
15 lines
346 B
JavaScript
15 lines
346 B
JavaScript
/**
|
|
* Copyright IBM Corp. 2021, 2026
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import { helper } from '@ember/component/helper';
|
|
|
|
/**
|
|
* Takes a `Date` instance and returns a string formatted in ISO,
|
|
* e.g. "2020-01-01T00:00:00.999Z".
|
|
*/
|
|
export default helper(function formatDateIso(params /*, hash*/) {
|
|
return params[0]?.toISOString();
|
|
});
|