| 1 | package DBIO::Firebird::DateTime::Format; | ||
| 2 | # ABSTRACT: DateTime formatter for Firebird / InterBase | ||
| 3 | |||
| 4 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 2 | our $VERSION = '0.900007'; | |
| 8 | |||
| 9 | 2 | ▶ | use base 'DBIO::Storage::DateTimeFormat'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | # No preferred_format_class: there is no maintained DateTime::Format::Firebird. | ||
| 12 | 2 | __PACKAGE__->datetime_parse_pattern('%Y-%m-%d %H:%M:%S.%4N'); # %F %T | |
| 13 | 2 | __PACKAGE__->datetime_format_pattern('%Y-%m-%d %H:%M:%S.%4N'); | |
| 14 | 2 | __PACKAGE__->date_parse_pattern('%Y-%m-%d'); | |
| 15 | 2 | __PACKAGE__->date_format_pattern('%Y-%m-%d'); | |
| 16 | |||
| 17 | 2 | 1; | |
| 18 | |||
| 19 | __END__ | ||