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

Improvements to SMF\Time #8037

Merged

Conversation

Sesquipedalian
Copy link
Member

  1. Gives SMF\Time its own version of the setTimezone() method. This method can accept both \DateTimeZone objects and valid time zone identifiers as its argument, and returns an SMF\Time object rather than a \DateTime object.
  2. Gives SMF\Time its own versions of the createFromInterface(), createFromMutable(), and createFromImmutable() methods.

This should fix #7985 and other issues like it in a generalized and permanent way.

@Sesquipedalian Sesquipedalian added this to the 3.0 Alpha 1 milestone Jan 24, 2024
@Sesquipedalian Sesquipedalian merged commit ca41b56 into SimpleMachines:release-3.0 Jan 24, 2024
3 checks passed
@Sesquipedalian Sesquipedalian deleted the time_improvements branch January 24, 2024 06:48
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

Successfully merging this pull request may close these issues.

[3.0]: Time format needs to accept a format.
1 participant