Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with time zones in notifications. #191

Open
elguitarraverde opened this issue Apr 14, 2023 · 2 comments
Open

issue with time zones in notifications. #191

elguitarraverde opened this issue Apr 14, 2023 · 2 comments

Comments

@elguitarraverde
Copy link
Contributor

We can implement some Accessors & Mutators as I did in the calendar. In this way, the dates are always saved in the database in UTC(or config('app.timezone')) and when the user reads them, they are transformed into their timezone.

https://github.com/Roskus/prospect-flow-crm/blob/56c096918f24beadb6ed63a5cb528d61401511c9/app/Models/Calendar.php#L59-L73

@gnovaro
Copy link
Member

gnovaro commented Apr 14, 2023

Can be useful but we need to modify the command for send the notification taking in consideration the timezone of the company i guess. In the contact reminder we can use this also we can move to a trait and reuse

@elguitarraverde
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants