Skip to content

Commit e5fecda

Browse files
committed
Grunt assets filename fix with minutes and seconds
1 parent 872b0d1 commit e5fecda

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module.exports = function(grunt) {
4949
assets_versioning: {
5050
deployment: {
5151
options: {
52-
dateFormat: 'YYYYMMDDHH',
52+
dateFormat: 'YYYYMMDDHHmmss',
5353
tag: 'date',
5454
versionsMapFile: 'inc/front/gruntassets.php',
5555
versionsMapTemplate: 'inc/front/gruntassets.tpl',

scss/helpers/_woocommerce.scss

+8-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,14 @@ Forms
141141
@extend .form-control;
142142
}
143143

144-
144+
.screen-reader-text {
145+
clip: rect(1px, 1px, 1px, 1px);
146+
height: 1px;
147+
overflow: hidden;
148+
position: absolute !important;
149+
width: 1px;
150+
word-wrap: normal !important;
151+
}
145152

146153

147154

stormbringer-child/Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module.exports = function(grunt) {
5050
assets_versioning: {
5151
deployment: {
5252
options: {
53-
dateFormat: 'YYYYMMDDHH',
53+
dateFormat: 'YYYYMMDDHHmmss',
5454
tag: 'date',
5555
versionsMapFile: 'inc/front/gruntassets.php',
5656
versionsMapTemplate: 'inc/front/gruntassets.tpl',

0 commit comments

Comments
 (0)