1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: EPICS_TIMEZONE and TZ on RTEMS |
From: | Matt Rippa <[email protected]> |
To: | Michael Davidsaver <[email protected]> |
Cc: | Talk EPICS Tech <[email protected]> |
Date: | Mon, 25 Apr 2016 12:45:33 -1000 |
On 04/25/2016 05:12 PM, Matt Rippa wrote:
> epicsEnvSet("TZ", "HST10")
You'll need to arrange a call to tzset() before anything happens.
http://man7.org/linux/man-pages/man3/tzset.3.html
Init() does this, but has probably already run. As I look at it, there
doesn't seem to be a good way to set TZ for the standard rtems app...
http://bazaar.launchpad.net/~epics-core/epics-base/3.16/view/head:/src/libCom/RTEMS/rtems_init.c#L631