Changeset 11519 for trunk/gsdl
- Timestamp:
- 2006-03-28T17:05:20+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gti.pl
r11498 r11519 68 68 69 69 # Greenstone tutorial exercises 70 #{ 'key' => "tutorials",71 #'file_type' => "greenstone_xml",72 #'source_file' => "gsdl-tutorials/tutorial_en.xml",73 #'target_file' => "gsdl-tutorials/tutorial_{target_language_code}.xml" },70 { 'key' => "tutorials", 71 'file_type' => "greenstone_xml", 72 'source_file' => "gsdl-tutorials/tutorial_en.xml", 73 'target_file' => "gsdl-tutorials/tutorial_{target_language_code}.xml" }, 74 74 75 75 # Greenstone.org … … 773 773 my $source_chunk_last_update_date = $source_file_key_to_last_update_date_mapping->{$chunk_key}; 774 774 my $target_chunk_last_update_date = $target_file_key_to_last_update_date_mapping->{$chunk_key}; 775 775 if (defined($target_chunk_last_update_date) && &is_date_after($source_chunk_last_update_date, $target_chunk_last_update_date)) { 776 776 # &log_message("Chunk with key $chunk_key needs updating."); 777 777 push(@target_file_keys_requiring_updating, $chunk_key); … … 827 827 my $year1 = $date1parts[2]; 828 828 if ($year1 < 80) { 829 $year1 += 100;829 $year1 += 2000; 830 830 } 831 831 my $year2 = $date2parts[2]; 832 832 if ($year2 < 80) { 833 $year2 += 100;833 $year2 += 2000; 834 834 } 835 835
Note:
See TracChangeset
for help on using the changeset viewer.