Skip to content

verta() always returns UTC time, ignoring app.timezone #179

@sobhan-m94

Description

@sobhan-m94

When I call verta() in my app (configured with app.timezone = Asia/Tehran), the resulting Verta object is in UTC instead of Tehran time.

> date_default_timezone_get()
= "Asia/Tehran"

> config('app.timezone')
= "Asia/Tehran"

> verta(1745094600)
= Hekmatinasser\Verta\Verta @1745094600 {#6746
    date: 1404-01-30 20:30:00.0 +00:00,
  }

> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions