Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattesmohr committed Oct 28, 2024
1 parent 1d32561 commit 62e02e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Foundation
public struct EnvironmentKeys: Hashable {

/// A key used to configure the environment's calendar
public var calender: Calendar
public var calendar: Calendar

/// A key used to configure the environment's time zone
public var timeZone: TimeZone
Expand Down
2 changes: 1 addition & 1 deletion Sources/HTMLKit/Framework/Rendering/Renderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public final class Renderer {
case \.locale:
self.environment.locale = value as? Locale

case \.calender:
case \.calendar:
self.environment.calendar = value as? Calendar

case \.timeZone:
Expand Down

0 comments on commit 62e02e3

Please sign in to comment.