Commit a51cd0e901f0e0684b2caf4d2b44f54a354fe139
1 parent
cd28a380
Exists in
master
and in
59 other branches
rm ok
Showing
3 changed files
with
11 additions
and
2 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php
@@ -56,6 +56,13 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas | @@ -56,6 +56,13 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas | ||
56 | case 'Timestamp' : | 56 | case 'Timestamp' : |
57 | $downloadNode->setTimeFormat(RequestOutputDownloadTimeFormatEnum::TIMESTAMP); | 57 | $downloadNode->setTimeFormat(RequestOutputDownloadTimeFormatEnum::TIMESTAMP); |
58 | break; | 58 | break; |
59 | + case 'Timestamp-with-milliseconds' : | ||
60 | + $downloadNode->setTimeFormat(RequestOutputDownloadTimeFormatEnum::MS); | ||
61 | + break; | ||
62 | + case 'YYYY MM DD hh mm ss' : | ||
63 | + $downloadNode->setTimeFormat(RequestOutputDownloadTimeFormatEnum::SPACES); | ||
64 | + break; | ||
65 | + | ||
59 | default : | 66 | default : |
60 | throw new Exception('Time format not implemented.'); | 67 | throw new Exception('Time format not implemented.'); |
61 | } | 68 | } |
src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputDownloadNodeClass.php
@@ -22,6 +22,8 @@ abstract class RequestOutputDownloadTimeFormatEnum | @@ -22,6 +22,8 @@ abstract class RequestOutputDownloadTimeFormatEnum | ||
22 | const ISO = "ISO"; | 22 | const ISO = "ISO"; |
23 | const DDTIME = "DD"; | 23 | const DDTIME = "DD"; |
24 | const TIMESTAMP = "DOUBLE"; | 24 | const TIMESTAMP = "DOUBLE"; |
25 | + const SPACES = "SPACES"; | ||
26 | + const MS = "MS"; | ||
25 | } | 27 | } |
26 | 28 | ||
27 | abstract class RequestOutputDownloadFileFormatEnum | 29 | abstract class RequestOutputDownloadFileFormatEnum |
src/Request/ProcessRequestImpl/Process/ProcessClass.php
@@ -215,8 +215,8 @@ class ProcessClass | @@ -215,8 +215,8 @@ class ProcessClass | ||
215 | if (!chdir($this->runningPath)) | 215 | if (!chdir($this->runningPath)) |
216 | return false; | 216 | return false; |
217 | 217 | ||
218 | - if (!$keep_log && file_exists($this->outputFile)) | ||
219 | - unlink($this->outputFile); | 218 | + //if (!$keep_log && file_exists($this->outputFile)) |
219 | + // unlink($this->outputFile); | ||
220 | 220 | ||
221 | if (file_exists($this->exitCodeFile)) | 221 | if (file_exists($this->exitCodeFile)) |
222 | unlink($this->exitCodeFile); | 222 | unlink($this->exitCodeFile); |