Changeset 617 for trunk/Cocoa/Pester
- Timestamp:
- 03/02/10 08:03:10 (15 years ago)
- Location:
- trunk/Cocoa/Pester/Source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/Manip.pm
r463 r617 3645 3645 } 3646 3646 3647 confess "ERROR: Date::Manip unable to determine Time Zone .\n";3647 confess "ERROR: Date::Manip unable to determine Time Zone from @tz.\n"; 3648 3648 } 3649 3649 -
trunk/Cocoa/Pester/Source/ParseDate.m
r367 r617 42 42 } 43 43 44 NSString *temp = [[NSString alloc] initWithFormat: @" UnixDate(q|%@|, '%%q')", input];44 NSString *temp = [[NSString alloc] initWithFormat: @"my $s = eval {UnixDate(q|%@|, '%%q')}; warn $@ if $@; $s", input]; 45 45 // NSLog(@"%@", temp); 46 SV *d = eval_pv([temp UTF8String], TRUE);46 SV *d = eval_pv([temp UTF8String], FALSE); 47 47 [temp release]; 48 48 if (d == NULL) return nil;
Note:
See TracChangeset
for help on using the changeset viewer.