From 06ffef9a24063a278d7829d5194cf6a2a4a7da2a Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 10 Jul 2005 19:29:02 +0000 Subject: [PATCH] The $adjust paramater in format() wasn't doing anything... now it is --- date.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/date.php b/date.php index 1add242..9d52c19 100644 --- a/date.php +++ b/date.php @@ -101,7 +101,11 @@ class Date_Formatter */ function format($format, $timestamp = TIMENOW, $adjust = true) { - $timestamp -= $this->offset; + if ($adjust) + { + $timestamp -= $this->offset; + } + return date($format, $timestamp); } } -- 2.43.5