Add new command line option for rn_ls utility to present result in
user-preferred time-zone and to use it as timestamp inputs (-s and -t
command line options).
-z name time zone name (run with "-z list-regions" to see all supported time zones)
bash$ rn_ls -c oracle://devdb10/tdaq_dev_backup -w onlcool -s '2008-04-14 00:00:00'Get the same info in CERN local time zone:
=======================================================================================================================================
| Name | Num | Start At (UTC) | Duration | User | Host | Partition | Config | Comment |
=======================================================================================================================================
| nightly_check | 27326 | 2008-Apr-14 10:15:38 | 0:00:04 | mcaprini | pcatd114.cern.ch | igui_test | 21.39 | Clean stop of run. |
| nightly_check | 27325 | 2008-Apr-14 06:22:10 | 0:00:02 | atdsoft | pcatdbuild04.cern.ch | dummu | | It is just a test. |
| nightly_check | 27324 | 2008-Apr-14 02:39:12 | 0:00:02 | atdsoft | pcatdbuild04.cern.ch | dummu | | It is just a test. |
=======================================================================================================================================
bash$ rn_ls -c oracle://devdb10/tdaq_dev_backup -w onlcool -s '2008-04-14 00:00:00' -z 'Europe/Zurich'The "Run Number" Web interface was updated to support the user-preferred time zones.
============================================================================================================================================
| Name | Num | Start At (local time) | Duration | User | Host | Partition | Config | Comment |
============================================================================================================================================
| nightly_check | 27326 | 2008-Apr-14 12:15:38 CEST | 0:00:04 | mcaprini | pcatd114.cern.ch | igui_test | 21.39 | Clean stop of run. |
| nightly_check | 27325 | 2008-Apr-14 08:22:10 CEST | 0:00:02 | atdsoft | pcatdbuild04.cern.ch | dummu | | It is just a test. |
| nightly_check | 27324 | 2008-Apr-14 04:39:12 CEST | 0:00:02 | atdsoft | pcatdbuild04.cern.ch | dummu | | It is just a test. |
============================================================================================================================================