Skip to content

Commit

Permalink
Merge pull request #2 from joy2362/1.3.x
Browse files Browse the repository at this point in the history
refactor: duplicate code remove
  • Loading branch information
joy2362 authored Jun 29, 2024
2 parents cd1cb22 + fea9d4a commit 115677a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/TimeZoneService.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ private function getLabel($timezone): string
*/
private function getTimeDiff($time): string
{
$time_diff_symbol = Config::get('Timezone.TIME_DIFF_SYMBOL', '.');
$time_diff_symbol = Config::get('Timezone.TIME_DIFF_SYMBOL', '.');
$str_time_diff = $time->format('p');
return str_replace(':', $time_diff_symbol, $str_time_diff);
Expand Down

0 comments on commit 115677a

Please sign in to comment.