Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39222, comment 16


Ignore:
Timestamp:
03/07/2017 01:23:49 PM (7 years ago)
Author:
nerrad
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39222, comment 16

    initial v1  
    33To echo @flixos90 and confirm the approach, I've done mapping of formats similarly in other projects as well.
    44
    5 Within the mapping, should the `dateMoment` argument be clarified in jsdocs so that its clear it is expecting a moment date object?  maybe even rename the variable to `dateMoment` so its extra clear?
     5Within the mapping, should the `date` argument be clarified in jsdocs so that its clear it is expecting a moment date object?  maybe even rename the variable to `dateMoment` so its extra clear?