mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
Handle csv_output_timestamp_column and output_timeformat
This commit is contained in:
@@ -10,6 +10,11 @@ Add the `-s` option to the end of the above commands to suppress creating the `g
|
||||
|
||||
See [Downloads](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads) for Windows or other options, including manual installation.
|
||||
|
||||
### 6.62.01
|
||||
|
||||
Updated code so that when `gam.cfg` variables `csv_output_timestamp_column` and `output_timeformat` are both specified,
|
||||
the timestamp is output in the alternate output time format.
|
||||
|
||||
### 6.62.00
|
||||
|
||||
Added `output_dateformat` and `output_timeformat` variables to `gam.cfg` that provide alternate
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
|
||||
Merged GAM-Team version
|
||||
|
||||
6.62.01
|
||||
|
||||
Updated code so that when `gam.cfg` variables `csv_output_timestamp_column` and `output_timeformat` are both specified,
|
||||
the timestamp is output in the alternate output time format.
|
||||
|
||||
6.62.00
|
||||
|
||||
Added `output_dateformat` and `output_timeformat` variables to `gam.cfg` that provide alternate
|
||||
|
||||
@@ -8027,7 +8027,10 @@ class CSVPrintFile():
|
||||
|
||||
def SetTimestampColumn(self, timestampColumn):
|
||||
self.timestampColumn = timestampColumn
|
||||
self.todaysTime = ISOformatTimeStamp(todaysTime())
|
||||
if not GC.Values[GC.OUTPUT_TIMEFORMAT]:
|
||||
self.todaysTime = ISOformatTimeStamp(todaysTime())
|
||||
else:
|
||||
self.todaysTime = todaysTime().strftime(GC.Values[GC.OUTPUT_TIMEFORMAT])
|
||||
|
||||
def SetFormatJSON(self, formatJSON):
|
||||
self.formatJSON = formatJSON
|
||||
|
||||
Reference in New Issue
Block a user