Changeset 64 in bookmarks for trunk/BookmarkController.pm
- Timestamp:
- 09/10/13 16:54:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BookmarkController.pm
r63 r64 337 337 } else { 338 338 # display the bookmark form for this bookmark 339 # TODO: these should probably be methods on the Bookmark class 339 340 $bookmark->{exists} = 1; 340 $bookmark->{created} = "Created " . localtime($bookmark->ctime); 341 $bookmark->{created} .= '; Updated ' . localtime($bookmark->mtime) unless $bookmark->ctime == $bookmark->mtime; 341 $bookmark->{created} = localtime($bookmark->ctime); 342 $bookmark->{updated} = localtime($bookmark->mtime); 343 ($bookmark->{created_iso} = time2isoz($bookmark->ctime)) =~ s/\D//g; 344 ($bookmark->{updated_iso} = time2isoz($bookmark->mtime)) =~ s/\D//g; 342 345 my $template = Template->new; 343 346 $template->process(
Note: See TracChangeset
for help on using the changeset viewer.