-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename formatAsZonedTime to formatInTimeZone
- Loading branch information
Showing
18 changed files
with
96 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/formatAsZonedTime/index.d.ts → src/formatInTimeZone/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|
||
import { formatAsZonedTime } from 'date-fns-tz' | ||
export = formatAsZonedTime | ||
import { formatInTimeZone } from 'date-fns-tz' | ||
export = formatInTimeZone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
src/formatAsZonedTime/test.js → src/formatInTimeZone/test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
src/fp/formatAsZonedTime/index.d.ts → src/fp/formatInTimeZone/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|
||
import { formatAsZonedTime } from 'date-fns-tz/fp' | ||
export = formatAsZonedTime | ||
import { formatInTimeZone } from 'date-fns-tz/fp' | ||
export = formatInTimeZone |
6 changes: 3 additions & 3 deletions
6
src/fp/formatAsZonedTime/index.js → src/fp/formatInTimeZone/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it. | ||
|
||
import fn from '../../formatAsZonedTime/index.js' | ||
import fn from '../../formatInTimeZone/index.js' | ||
import convertToFP from 'date-fns/fp/_lib/convertToFP/index.js' | ||
|
||
var formatAsZonedTime = convertToFP(fn, 2) | ||
var formatInTimeZone = convertToFP(fn, 2) | ||
|
||
export default formatAsZonedTime | ||
export default formatInTimeZone |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|
||
import { formatInTimeZoneWithOptions } from 'date-fns-tz/fp' | ||
export = formatInTimeZoneWithOptions |
6 changes: 3 additions & 3 deletions
6
src/fp/formatAsZonedTimeWithOptions/index.js → src/fp/formatInTimeZoneWithOptions/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it. | ||
|
||
import fn from '../../formatAsZonedTime/index.js' | ||
import fn from '../../formatInTimeZone/index.js' | ||
import convertToFP from 'date-fns/fp/_lib/convertToFP/index.js' | ||
|
||
var formatAsZonedTimeWithOptions = convertToFP(fn, 3) | ||
var formatInTimeZoneWithOptions = convertToFP(fn, 3) | ||
|
||
export default formatAsZonedTimeWithOptions | ||
export default formatInTimeZoneWithOptions |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.