Mercurial > p > roundup > code
view website/wiki/static/roundup/css/print.css @ 6806:bdd28b244839
- issue2551223 - fix timestamp truncation in mysql and postgresql
The data types used to represent timestamps in pg and mysql for
ephemeral tables: sessions and otks don't have enough signifcant
digits to work. As a result the timestamps are rounduped (up/down)
rsuling in the stored timestamp being 2 minutes (pg) or 2-3
hours(mysql) off from what it should be.
Modify db schema to use a numeric type that preserves more significant
figures. Implement schema upgrade. Document need for upgrade in
upgrading.txt.
Write tests for schema upgrade.
Implement test for updateTimestamp method on BasicDatabase that showed
this issue in the first place. Write overrides for test for
anydbm/memorydb which store timestamp properly or not at all.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 25 Jul 2022 17:20:20 -0400 |
| parents | 86c38b5aed66 |
| children |
line wrap: on
line source
/* print.css - MoinMoin Default Styles Copyright (c) 2001, 2002, 2003 by Juergen Hermann */ /* content styles */ html { font-family: Times, serif; font-size: 12pt; } body { /* Give about 3.4cm in Mozilla/Firefox and about 2.2cm in Safari */ margin: 1.5cm; } a, a:visited, a.nonexistent, a.badinterwiki { color: black; text-decoration: none; } a:hover { text-decoration: underline; } .info a { color: gray; } pre { font-size: 10pt; } a.interwiki:before, a.badinterwiki:before { content: attr(title) ":"; } a.interwiki img, a.badinterwiki img { display: none; } .footnotes div { width: 5em; border-top: 1pt solid gray; } /* user interface styles */ #header, #sidebar, #footer, #timings, #credits, #interwiki, #pagelocation { display: none; }
