WordPress.org

Make WordPress Core

Changeset 36351


Ignore:
Timestamp:
01/20/2016 02:01:57 AM (4 years ago)
Author:
dd32
Message:

Build Tools: Revert to using a human readable timestamp rather than the unix timestamp in [36315].
Fixes #28722

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r36341 r36351  
    127127
    128128                            // If the version includes an SVN commit (-12345), it's not a released alpha/beta. Append a timestamp.
    129                             version = version.replace( /-[\d]{5}$/, '-' + new Date().getTime() );
     129                            version = version.replace( /-[\d]{5}$/, '-' + grunt.template.today( 'yyyymmdd.HHMMss' ) );
    130130
    131131                            /* jshint quotmark: true */
Note: See TracChangeset for help on using the changeset viewer.