The format matches BIND 8 date stamp.
+1163. [func] isc_time_formattimestamp() will now reports the year.
+
1162. [bug] The allow-notify option was not accepted in slave
zone statements.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: time.h,v 1.28 2001/09/20 06:50:08 marka Exp $ */
+/* $Id: time.h,v 1.29 2001/12/17 02:55:06 marka Exp $ */
#ifndef ISC_TIME_H
#define ISC_TIME_H 1
isc_time_formattimestamp(const isc_time_t *t, char *buf, unsigned int len);
/*
* Format the time 't' into the buffer 'buf' of length 'len',
- * using a format like "Aug 30 04:06:47.997" and the local time zone.
+ * using a format like "30-Aug-2000 04:06:47.997" and the local time zone.
* If the text does not fit in the buffer, the result is indeterminate,
* but is always guaranteed to be null terminated.
*
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: time.c,v 1.43 2001/11/30 01:59:48 gson Exp $ */
+/* $Id: time.c,v 1.44 2001/12/17 02:55:05 marka Exp $ */
#include <config.h>
REQUIRE(len > 0);
now = (time_t) t->seconds;
- flen = strftime(buf, len, "%b %d %X", localtime(&now));
+ flen = strftime(buf, len, "%d-%b-%Y %X", localtime(&now));
INSIST(flen < len);
if (flen != 0)
snprintf(buf + flen, len - flen,