[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
pprkut
  1. 
      
  2. src/Lunr/Shadow/Console.php (Diff revision 1)
     
     

    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...