Skip to content

Logger: Remove shut-up marker on date()#403

Merged
dg merged 1 commit into
nette:masterfrom
jakubboucek:remove-date-tz-warning
Feb 9, 2020
Merged

Logger: Remove shut-up marker on date()#403
dg merged 1 commit into
nette:masterfrom
jakubboucek:remove-date-tz-warning

Conversation

@jakubboucek
Copy link
Copy Markdown
Contributor

PHP 7+ no more thrown warning when timezone not set.

  • new feature
  • BC break? no
  • doc PR: not needed

Description

  • Nette Tracy is required PHP 7 +
  • PHP 7 is no mote throw warning on using date-like functions without defined current TimeZone
  • Silent error marker on @date() function is no more needed.

Sources

Thanks for this great tool ❤️

PHP 7+ no more thrown warning when timezone not set
@jakubboucek jakubboucek requested a review from dg February 5, 2020 15:41
@dg
Copy link
Copy Markdown
Member

dg commented Feb 9, 2020

Thanks!

@dg dg merged commit c9bc7da into nette:master Feb 9, 2020
dg pushed a commit that referenced this pull request Feb 9, 2020
PHP 7+ no more thrown warning when timezone not set
dg pushed a commit that referenced this pull request Feb 23, 2020
PHP 7+ no more thrown warning when timezone not set
@jakubboucek jakubboucek deleted the remove-date-tz-warning branch October 21, 2020 17:07
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.

2 participants