File tree 1 file changed +9
-4
lines changed 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ class Const {
62
62
/**
63
63
* The app build time as linux/unix timestamp
64
64
*/
65
- static final long APP_TIMESTAMP = 1374446823220
65
+ static final long APP_TIMESTAMP = 1374494956265
66
66
67
67
/**
68
68
* The app build number
69
69
*/
70
- static final int APP_BUILDNUM = 702
70
+ static final int APP_BUILDNUM = 703
71
71
72
72
/**
73
73
* The date time formatter string
@@ -103,7 +103,12 @@ class Const {
103
103
def utc = APP_TIMESTAMP_UTC . split(' ' )
104
104
def loc = APP_TIMESTAMP_LOCAL . split(' ' )
105
105
106
- utc[0 ] == loc[0 ] ? loc[1 ,-1 ]. join(' ' ) : loc. join(' ' )
106
+ if ( APP_TIMESTAMP_UTC == APP_TIMESTAMP_LOCAL ) {
107
+ return ' '
108
+ }
109
+
110
+ def result = utc[0 ] == loc[0 ] ? loc[1 ,-1 ]. join(' ' ) : loc. join(' ' )
111
+ return " ($result )"
107
112
}
108
113
109
114
/*
@@ -115,7 +120,7 @@ class Const {
115
120
"""
116
121
N E X T F L O W
117
122
Version ${ APP_VER} build ${ APP_BUILDNUM}
118
- last modified ${ APP_TIMESTAMP_UTC} ( ${ deltaLocal()} )
123
+ last modified ${ APP_TIMESTAMP_UTC} ${ deltaLocal()}
119
124
http://nextflow-project.org
120
125
"""
121
126
You can’t perform that action at this time.
0 commit comments