()
| 112 | } |
| 113 | |
| 114 | const getVersionNumber = () => { |
| 115 | if (process.env.JS_DEBUG_VERSION) { |
| 116 | return process.env.JS_DEBUG_VERSION; |
| 117 | } |
| 118 | |
| 119 | const date = new Date(new Date().toLocaleString('en-US', { timeZone: 'America/Los_Angeles' })); |
| 120 | const monthMinutes = (date.getDate() - 1) * 24 * 60 + date.getHours() * 60 + date.getMinutes(); |
| 121 | |
| 122 | return [ |
| 123 | // YY |
| 124 | date.getFullYear(), |
| 125 | // MM, |
| 126 | date.getMonth() + 1, |
| 127 | //DDHH |
| 128 | `${date.getDate()}${String(date.getHours()).padStart(2, '0')}`, |
| 129 | ].join('.'); |
| 130 | }; |
| 131 | |
| 132 | gulp.task('compile:dynamic', async () => { |
| 133 | const [contributions, strings] = await Promise.all([ |
no test coverage detected