[go: up one dir, main page]

File: tid.pm

package info (click to toggle)
apertium-nno-nob 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 37,144 kB
  • sloc: xml: 378; makefile: 254; perl: 38; sh: 28
file content (22 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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);