Index: trunk/tools/mwmultiversion/multiversion/switchAllMediaWikis |
— | — | @@ -52,7 +52,8 @@ |
53 | 53 | } |
54 | 54 | |
55 | 55 | # Backup old wikiversions.dat... |
56 | | - $backupPath = "$common/multiversion/backup/wikiversions-" . wfTimestampNow() . ".dat"; |
| 56 | + $timestamp = date( 'c' ); // ISO 8601 |
| 57 | + $backupPath = "$common/multiversion/backup/wikiversions-$timestamp.dat"; |
57 | 58 | if ( !copy( $datPath, $backupPath ) ) { |
58 | 59 | die( "Unable to write backup file `$backupPath`.\n" ); |
59 | 60 | } |