[Lunr] Shadow: use \DateTime in console and allow setting the format

Review Request #763 — Created May 19, 2021 and submitted

smillernl
Lunr
fix/console/configure_date_format
761
lunr
Shadow: use \DateTime in console and allow setting the format


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
There are no open issues
pprkut
  1. 
      
  2. src/Lunr/Shadow/Console.php (Diff revision 1)
     
     
    The issue has been resolved. Show all issues

    DateTime stores the timestamp in the constructor. You'd need to update the timestamp to "now" before formatting it.

  3. 
      
smillernl
pprkut
  1. Ship It!
  2. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...