Re: API call to retrieve server timestamp / timestamps as offsets?
From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2006-11-01 15:52:38 CET
John Peacock wrote:
It's a display thing. Suppose the server's time is correct, and the
Code on the client:
my $current_time = time(); # Seconds since epoch, in UTC
printf "Entry was modified %d seconds ago",
That's going to print the wrong value. And if the dirent was modified
I know, and agree, that this is a configuration problem on the client.
my $current_time = SVN::Client::get_time_on_server();
N
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.