-## 008 - All materials
-marc_fixed('008','00', '070707'); # Date entered on file
-marc_fixed('008','06', 't'); # Type of date/Publication status
-if ( rec('11') ) {
- if ( my $lookup = lookup(
- sub { rec('210','d') },
- 'nsk','bbaza',
- sub { first( rec('011','a') ) },
- sub { rec('11') },
- )
- ) {
- marc_fixed('008','07', $lookup);
- } else {
- marc_fixed('008','07',
- rec('210','d')
- );
+### 008 - All materials
+# ¹to zapisati u polje kad datum nije poznat?
+
+marc_fixed('008','00', '070707'); # 00-05 - Date entered on file
+
+## za 008 06 treba i lookup u tablicu gdje postoji podatak o tome jel tekuci casopis ili nije?
+## c - Continuing resource currently published
+## d - Continuing resource ceased publication
+
+if ( rec('210','c') ) {
+ marc_fixed('008','06','s'); # 06 - Type of date/Publication status, s = single know date
+
+ my $year = rec('210','c');
+ warn "## year = $year";
+ if ( $year =~ m/^(\d{4})/ ) {
+# warn "## $1 ##";
+ marc_fixed('008','07',$1); # 07-10 - Date 1