View | Details | Raw Unified | Return to bug 6427
Collapse All | Expand All

(-)a/Koha/DateUtils.pm (-1 / +6 lines)
Lines 21-33 use warnings; Link Here
21
use 5.010;
21
use 5.010;
22
use DateTime;
22
use DateTime;
23
use DateTime::Format::DateParse;
23
use DateTime::Format::DateParse;
24
use DateTime::Format::MySQL;
24
use C4::Context;
25
use C4::Context;
25
26
26
use base 'Exporter';
27
use base 'Exporter';
27
use version; our $VERSION = qv('1.0.0');
28
use version; our $VERSION = qv('1.0.0');
28
29
29
our @EXPORT = (
30
our @EXPORT = (
30
    qw( dt_from_string output_pref format_sqldatetime output_pref_due format_sqlduedatetime)
31
    qw( dt_from_string output_pref format_sqldatetime output_pref_due format_sqlduedatetime get_timestamp )
31
);
32
);
32
33
33
=head1 DateUtils
34
=head1 DateUtils
Lines 239-242 sub format_sqlduedatetime { Link Here
239
    return q{};
240
    return q{};
240
}
241
}
241
242
243
sub get_timestamp {
244
    return DateTime::Format::MySQL->format_datetime( dt_from_string() );
245
}
246
242
1;
247
1;
(-)a/Koha/Template/Plugin/KohaAuthorisedValues.pm (-1 / +5 lines)
Lines 47-50 sub GetByCode { Link Here
47
    return GetAuthorisedValueByCode( $category, $code, $opac );
47
    return GetAuthorisedValueByCode( $category, $code, $opac );
48
}
48
}
49
49
50
sub Get {
51
    my ( $self, $category, $selected, $opac ) = @_;
52
    return GetAuthorisedValues( $category, $selected, $opac );
53
}
54
50
1;
55
1;
51
- 

Return to bug 6427