mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-22 14:49:36 +02:00
fix bad rename
This commit is contained in:
parent
6e0f3d66b9
commit
73d9c88ffb
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -36,8 +36,8 @@ const formatTime = (profile, when) => {
|
|||
};
|
||||
|
||||
export {
|
||||
formatIsoDateTime,
|
||||
formatTime
|
||||
formatTime,
|
||||
formatTimeOfDay,
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue