Changeset 617 for trunk/Cocoa/Pester/Source/ParseDate.m
- Timestamp:
- 03/02/10 08:03:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.