Codebase list apertium-nno-nob / upstream/1.3.0 tid.pm
upstream/1.3.0

Tree @upstream/1.3.0 (Download .tar.gz)

tid.pm @upstream/1.3.0raw · history · blame

#!/usr/bin/perl -w

# Script to postedit articles translated from
# Bokmål Wikipedia to Nynorsk Wikipedia.

# Usage (in the directory apertium-nno-nob/):
# cat nob-inputarticle | apertium -d . -u nob-nno | ./wikifix-nob-nno.pl | ...

use utf8 ;

#!/usr/bin/perl 
use date::Format;

print time2str("%D", time), "\n"; 
# (prints 10/09/04)

print time2str("%m/%d/%Y", time), "\n"; 
# (prints 10/09/2004) 


#use Time::Local;
#my $time = timelocal($day, $mon, $year);