Skip to content

Commit

Permalink
need timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell committed Oct 3, 2023
1 parent 881c1c5 commit 05f6616
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Fieldtypes/Timezones.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ class Timezones extends Relationship
protected function augmentValue($key)
{
if (is_null($augmented = $this->timezone($key))) {
return ['abbreviation' => $key];
return [
'abbreviation' => $key,
'timezone' => $key,
];
}

return $augmented;
Expand Down

0 comments on commit 05f6616

Please sign in to comment.