Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/@internationalized/date/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export {
toTimeZone,
toLocalTimeZone,
fromDate,
fromDateToLocal,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh... we don't use this function anywhere in our codebase, @devongovett what was the intent here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snowystinger I discovered this function while trying to use fromDate without a timezone. Is there a reason we didn’t just make the timezone optional and keep a single function?

fromAbsolute
} from './conversion';
export {
Expand Down