Skip to content

Make timestamps ISO compliant #6013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Make timestamps ISO compliant #6013

wants to merge 3 commits into from

Conversation

pditommaso
Copy link
Member

Tentative implementation for adding timezone info in the timestamp string used by nextflow

Signed-off-by: Paolo Di Tommaso <[email protected]>
@pditommaso pditommaso marked this pull request as draft April 28, 2025 08:11
Copy link

netlify bot commented Apr 28, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit e483aaf
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68250079ee7f8b00075c2ba4

@pditommaso pditommaso changed the title Add timezone to date format Make timestamps ISO compliant May 14, 2025
@pditommaso
Copy link
Member Author

An option is to make the timestamp date format configurable via the variable NXF_DATE_FORMAT.

Still some work needs to be done to adapt some templates, like the report ones

<tr>
<td>Launch time</td>
<td>${workflow.start.format('dd-MMM-yyyy HH:mm:ss')}</td>
</tr>
<tr>
<td>Ending time</td>
<td>${workflow.complete.format('dd-MMM-yyyy HH:mm:ss')} (duration: ${workflow.duration})</td>

Launch time : ${workflow.start.format('dd-MMM-yyyy HH:mm:ss')}
Ending time : ${workflow.complete.format('dd-MMM-yyyy HH:mm:ss')} (duration: ${workflow.duration})

Signed-off-by: Paolo Di Tommaso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant