Skip to content

Commit fedc264

Browse files
committed
Refactor timezone handling in BrndFeedType to use a constant for BRND API timezone
1 parent 2c09859 commit fedc264

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Feed/BrndFeedType.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ class BrndFeedType implements FeedTypeInterface
2424

2525
final public const string SUPPORTED_FEED_TYPE = FeedOutputModels::BRND_BOOKING_OUTPUT;
2626

27+
/**
28+
* BRND api datetime values are always given as 'Europe/Copenhagen'.
29+
*/
30+
private const string BRND_API_TIMEZONE = 'Europe/Copenhagen';
31+
2732
public function __construct(
2833
private readonly FeedService $feedService,
2934
private readonly ApiClient $apiClient,

0 commit comments

Comments
 (0)