[OGo-Users] Postgre fatal error after new install on Suse 10.2

Helge Hess users@opengroupware.org
Tue, 30 Jan 2007 19:23:19 +0100


On Jan 30, 2007, at 15:38, Adam Tauno Williams wrote:
> But [date descriptionWithCalendarFormat:@"%A"] is working.  As one can
> get "Thursday" for example.  The date returned by [[self appointment]
> valueForKey:@"startDate"] must be OK.

Write a small test tool, eg:

---snip---
#import <Foundation/Foundation.h>

int main(int argc, char **argv, char **env) {
   NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
   [NSProcessInfo initializeWithArguments:argv count:argc  
environment:env];

   NSDate *now = [NSDate date];
   NSLog(@"DATE: %@",
     [date descriptionWithCalendarFormat:@"%A %Y-%m-%d %H:%M:%S%z"]);

   return 0;
}
---snap---

---snip:GNUmakefile---
include $(GNUSTEP_MAKEFILES)/common.make

TOOL_NAME = testit
testit_OBJC_FILES = test.m

include $(GNUSTEP_MAKEFILES)/tool.make
---snap---

Does it work?

Greets,
   Helge
-- 
Helge Hess
http://www.helgehess.eu/