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 | 784352d88b2f729531ed97ef392530199ef7fcfe (diff) | |
download | bugs-f52df06fd40dcc948ca3c5cd98912f7168300910.tar bugs-f52df06fd40dcc948ca3c5cd98912f7168300910.tar.gz bugs-f52df06fd40dcc948ca3c5cd98912f7168300910.tar.bz2 bugs-f52df06fd40dcc948ca3c5cd98912f7168300910.tar.xz bugs-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)"; } |