Skip to content

Commit

Permalink
Merge pull request #1496 from markgrahamdawson/bug-overzealous-timest…
Browse files Browse the repository at this point in the history
…amps

Bug overzealous timestamps
  • Loading branch information
hjoliver authored Oct 4, 2023
2 parents cd06217 + 8bfd766 commit b023fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cylc/log/Log.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default {
})
},
stripTimestamp (logLine) {
const regex = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|[+-][\d:]+)?\s(.*\s*)/
const regex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|[+-][\d:]+)?\s(.*\s*)/
this.match = logLine.match(regex)
if (this.match) {
return this.match[1]
Expand Down

0 comments on commit b023fbd

Please sign in to comment.