You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I need to build a DateTime from Local::now() using its Date component and some future Time, respecting the timezone. This is trivially done using DateTime::date(), but this function has been deprecated. What would be the recommended way to do this (date_naive() does not work here as it's stripped of the original timezone).