diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-11-14 17:58:43 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-11-14 17:58:43 +0100 |
commit | f52df06fd40dcc948ca3c5cd98912f7168300910 (patch) | |
tree | d7498857f92e9bf130ffa6086ccc1017167e267c /Bugzilla | |
parent | Bug 843457: PROJECT environment variable is not honored when mod_perl is enabled (diff) | |
download | bugzilla-f52df06fd40dcc948ca3c5cd98912f7168300910.tar.gz bugzilla-f52df06fd40dcc948ca3c5cd98912f7168300910.tar.bz2 bugzilla-f52df06fd40dcc948ca3c5cd98912f7168300910.zip |
Bug 938161: sql_date_format() method for SQLite has an incorrect default format
r/a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/DB/Sqlite.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Sqlite.pm b/Bugzilla/DB/Sqlite.pm index 8da73ae66..cffe3b65c 100644 --- a/Bugzilla/DB/Sqlite.pm +++ b/Bugzilla/DB/Sqlite.pm @@ -216,7 +216,7 @@ sub sql_to_days { sub sql_date_format { my ($self, $date, $format) = @_; - $format = "%Y.%m.%d %H:%M:%s" if !$format; + $format = "%Y.%m.%d %H:%M:%S" if !$format; $format =~ s/\%i/\%M/g; return "STRFTIME(" . $self->quote($format) . ", $date)"; } |