Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
meduzen committed Apr 19, 2024
1 parent 783729c commit 8032721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/temporal/duration.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* - add support for sub-second units (ms, mis, ns)
*/

// Date.prototype.toTemporalInstant = toTemporalInstant
import { Temporal } from '@js-temporal/polyfill'
// import { Temporal } from 'temporal-polyfill'
import { round } from './utils/math'
Expand Down
6 changes: 2 additions & 4 deletions src/temporal/timezone.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ import {
import { p } from './utils/string.js'
import { tzConfig } from './config/tz.js'

import { Temporal, toTemporalInstant } from '@js-temporal/polyfill'
// import { Temporal, toTemporalInstant } from 'temporal-polyfill'

Date.prototype.toTemporalInstant = toTemporalInstant
import { Temporal } from '@js-temporal/polyfill'
// import { Temporal } from 'temporal-polyfill'

/**
* Create `datetime="+04:00"` timezone attribute for `<time>`.
Expand Down

0 comments on commit 8032721

Please sign in to comment.