mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-22 22:59:35 +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);
|
timezones.set(profile, timezone);
|
||||||
}
|
}
|
||||||
return timezone;
|
return timezone;
|
||||||
}
|
};
|
||||||
|
|
||||||
const formatIsoDateTime = (profile, when, includeOffset = false) => {
|
const formatTime = (profile, when, includeOffset = false) => {
|
||||||
const timezone = getTimezone(profile);
|
const timezone = getTimezone(profile);
|
||||||
|
|
||||||
return DateTime
|
return DateTime
|
||||||
|
@ -24,7 +24,7 @@ const formatIsoDateTime = (profile, when, includeOffset = false) => {
|
||||||
.toISO({includeOffset: includeOffset, suppressMilliseconds: true});
|
.toISO({includeOffset: includeOffset, suppressMilliseconds: true});
|
||||||
};
|
};
|
||||||
|
|
||||||
const formatTime = (profile, when) => {
|
const formatTimeOfDay = (profile, when) => {
|
||||||
const timezone = getTimezone(profile);
|
const timezone = getTimezone(profile);
|
||||||
|
|
||||||
return DateTime
|
return DateTime
|
||||||
|
@ -36,8 +36,8 @@ const formatTime = (profile, when) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
export {
|
export {
|
||||||
formatIsoDateTime,
|
formatTime,
|
||||||
formatTime
|
formatTimeOfDay,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue