[Elphel-support] Using my local timezone? not UTC

Nathan Clark throwstone at gmail.com
Tue May 31 20:02:02 PDT 2011


That all makes sense. Many thanks

On Wed, Jun 1, 2011 at 2:35 AM, Andrey Filippov <
support-list at support.elphel.com> wrote:

> Nathan,
>
> The local time here (in Utah) is also not UTC, but decided to stay with
> UTC. You see - there is no standard way in Exif to tell the time zone (
> http://www.google.com/search?exif+time+zone ) , sometimes it can be done -
> if the GPS data is available by comparing Exif time with GPS time (also
> included in Exif).
>
> So we decided to use the UTC as the camera system time, and this time is
> used in the images.
>
> If you really want to change that, there are two ways:
>
> 1. Modify the camera driver so it will add/subract certain number of
> seconds:
>
> http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/os/linux-2.6-tag--devboard-R2_10-4/arch/cris/arch-v32/drivers/elphel/sensor_common.c?view=markup
> 432  char * exif_meta_time_string=encode_time(ccam_dma_buf_ptr[index_time
> ], ccam_dma_buf_ptr[index_time+1]);
>
> First parameter of the encode_time() accepts number of second since epoch,
> second - number of additional microseconds. So you can just add the number
> to the first parameter (and then rebuild the project)
>
> 2. Use the "Windows way" (as opposed to Unix/Linux one) of the system time
> - set it to the local, not top the UTC.
> You can modify the startup script that sets time from the NTP server over
> the Internet - it is here (sorry, not the really appropriate place):
>
>
> http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/modules/usb/iop/cris-2.6-R1_05/rc?view=markup
>
> In the camera file system it is in /etc/init.d/usb - you can edit it right
> there.
>
> Andrey
>
>
> On Tue, May 31, 2011 at 6:47 AM, Nathan Clark <throwstone at gmail.com>wrote:
>
>> Hi guys,
>>
>> I've been pulling my hair out, wondering why I cannot get the camera
>> system time synchronized with my Ubuntu 10.04 PC...
>>
>> Then I realized... it's 22:44 here in GMT +10
>> and the System Clock is 12:47 UTC (which is actually very close to
>> accurate)
>>
>> But is there any way to have the camera clock synchronized to my timezone,
>> so that images contain an accurate timestamp for my part of the world?
>>
>>
>>
>> _______________________________________________
>> Support-list mailing list
>> Support-list at support.elphel.com
>> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
>>
>>
>
> _______________________________________________
> Support-list mailing list
> Support-list at support.elphel.com
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20110601/49c54046/attachment-0002.html>


More information about the Support-list mailing list