API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Datetime%...

The DateFormatter class has a minor typo in its description: "Provides a service to handler various date related functionality." Patch to follow.

CommentFileSizeAuthor
#2 typo_provides_a-2599172-2.patch493 bytestraviscarden

Comments

TravisCarden created an issue. See original summary.

traviscarden’s picture

Status: Active » Needs review
Issue tags: +Novice, +Quick fix
StatusFileSize
new493 bytes
cilefen’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +rc eligible

There is not much to say.

+++ b/core/lib/Drupal/Core/Datetime/DateFormatter.php
@@ -16,7 +16,7 @@
- * Provides a service to handler various date related functionality.
+ * Provides a service to handle various date related functionality.

I would write "date related" "date-related" with the compound modifier hyphen but I have been in too many arguments about that.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed e043e75 and pushed to 8.0.x. Thanks!

  • alexpott committed e043e75 on 8.0.x
    Issue #2599172 by TravisCarden: Typo: "Provides a service to handler..."
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.