Skip to content

Commit

Permalink
废弃relativeTime相关功能
Browse files Browse the repository at this point in the history
  • Loading branch information
adaex committed Aug 10, 2021
1 parent 5d5120a commit 13d972c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/dayjs/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import * as dayjs from 'dayjs'
import * as relativeTime from 'dayjs/plugin/relativeTime'

dayjs.extend(relativeTime)

export { dayjs, relativeTime }
export { dayjs }
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { default as component } from './component'
export { default as coreConfig } from './config'
export { dayjs, relativeTime } from './dayjs'
export { dayjs } from './dayjs'
export { default as die } from './die'
export { default as echo } from './echo'
export { Gateway } from './gw/Gateway'
Expand Down

0 comments on commit 13d972c

Please sign in to comment.