find( sub {
my $file = $File::Find::name;
+
+ next if $file =~ m/.timefmt$/;
+
if ( -f $file && $file =~ m/([^\/]+)\.changes\/(\d+[\.,]\d+.+)/ ) {
push @{ $changes->{$1} }, $2
} elsif ( import_module( $file ) ) {
$loaded->{ $path } = $info;
$self->_save( $path ) unless $info->{generated};
+ my $timefmt_path = $self->_permanent_path( 'timefmt' );
+ if ( -e $timefmt_path ) {
+ $self->session( 'timefmt', read_file $timefmt_path );
+ }
+
}
$self->_switch_dataset;
+ if ( my $timefmt = $self->param('timefmt') ) {
+ $self->session('timefmt', $timefmt);
+ warn "session store timefmt $timefmt\n";
+ my $timefmt_path = $self->_permanent_path( 'timefmt' );
+ write_file $timefmt_path, $timefmt;
+ warn "## $timefmt_path $timefmt"
+ }
+
if ( my $show = $self->param('id') ) {
$self->param('show', $show);
warn "show $show\n";