Skip to content

Commit

Permalink
fix bad rename
Browse files Browse the repository at this point in the history
  • Loading branch information
traines-source committed Dec 17, 2024
1 parent 6e0f3d6 commit 73d9c88
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions format/time.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const getTimezone = (profile) => {
timezones.set(profile, timezone);
}
return timezone;
}
};

const formatIsoDateTime = (profile, when, includeOffset = false) => {
const formatTime = (profile, when, includeOffset = false) => {
const timezone = getTimezone(profile);

return DateTime
Expand All @@ -24,7 +24,7 @@ const formatIsoDateTime = (profile, when, includeOffset = false) => {
.toISO({includeOffset: includeOffset, suppressMilliseconds: true});
};

const formatTime = (profile, when) => {
const formatTimeOfDay = (profile, when) => {
const timezone = getTimezone(profile);

return DateTime
Expand All @@ -36,8 +36,8 @@ const formatTime = (profile, when) => {
};

export {
formatIsoDateTime,
formatTime
formatTime,
formatTimeOfDay,
};


0 comments on commit 73d9c88

Please sign in to comment.