Commit f60d73b
Modify PbenchConfig.timestamp() to return string in proper format
Fixes #1250.
The timestamp() method should return a string of the form
YYYY-MM-DDThh:mm:ss-TZ
It does that for unit tests with a hardcoded string, but for the "real"
case, it was returning a timestamp with microseconds added and no TZ.
Modify it to use the tstos() function in the latter case.
TBD: Change it in the unit test case to return `tstos(0)', i.e. the Unix
Epoch date: 1970-01-01T00:00:00-GMT. That will require wholesale changes
to the unit test gold files however, so postpone that change for the next
release.1 parent 020a845 commit f60d73b
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
250 | | - | |
| 254 | + | |
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
| |||
0 commit comments