Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feat(time-formatter): Removed deprecated dtTime formatter.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Use dtDuration formatter instead.
  • Loading branch information
rowa-audil authored and ffriedl89 committed May 12, 2020
1 parent 6ba927e commit 0f281fc
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 409 deletions.
6 changes: 0 additions & 6 deletions libs/barista-components/formatters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ The `dtRate` pipe provides a way to add a rate info to the value

<ba-live-example name="DtExampleFormattersRate"></ba-live-example>

### Time (deprecated - Will be removed with version 7.0.0)

The `dtTime` pipe provides a way to format a input time to a timestamp

<ba-live-example name="DtExampleFormattersTime"></ba-live-example>

### Duration

The `dtDuration` pipe provides a way to format an input time to a timestamp
Expand Down
7 changes: 0 additions & 7 deletions libs/barista-components/formatters/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
* limitations under the License.
*/

import { DtTime } from './src/time-deprecated/time';
import { formatTime } from './src/time-deprecated/time-formatter';

export * from './src/formatters-module';
export * from './src/unit';
export {
Expand All @@ -39,8 +36,4 @@ export * from './src/bits/bits-formatter';
export * from './src/bits/bits';
export * from './src/duration/duration';
export * from './src/duration/duration-formatter';
export {
formatTime as experimentalFormatTime,
DtTime as DtExperimentalFormatTime,
};
export { DtDateRange, dtFormatDateRange } from './src/date/date-range';
2 changes: 0 additions & 2 deletions libs/barista-components/formatters/src/formatters-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { DtCount } from './count/count';
import { DtDateRange } from './date/date-range';
import { DtPercent } from './percent/percent';
import { DtRate } from './rate/rate';
import { DtTime } from './time-deprecated/time';
import { DtDuration } from './duration/duration';

const FORMATTERS = [
Expand All @@ -37,7 +36,6 @@ const FORMATTERS = [
DtPercent,
DtRate,
DtDateRange,
DtTime,
DtDuration,
];

Expand Down

This file was deleted.

172 changes: 0 additions & 172 deletions libs/barista-components/formatters/src/time-deprecated/time.spec.ts

This file was deleted.

Loading

0 comments on commit 0f281fc

Please sign in to comment.