Skip to content

Fix display of cached fingerprint dates#174

Open
mk-fg wants to merge 1 commit intomoxie0:masterfrom
mk-fg:fix_cache_interface_timestamps
Open

Fix display of cached fingerprint dates#174
mk-fg wants to merge 1 commit intomoxie0:masterfrom
mk-fg:fix_cache_interface_timestamps

Conversation

@mk-fg
Copy link
Copy Markdown

@mk-fg mk-fg commented Apr 25, 2013

Firefox 19 displays these as "NaN-NaN-NaN NaN:NaN:NaN" because it fails to convert sqlite's int64 to js integer upon instantiation of Date object, producing "Invalid Date" and NaN's for all of its components.

Fix simply adds explicit parseInt() wrapping for timestamp field in query results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant