New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hope to have a 'Unix epoch to localdate' in 'Display format' selection list #1467
Comments
Ahhh, from rough memory I think we've adjusted the display format bit so it's editable now. That's only in the source (and nightly builds) for the moment. Since you're on Fedora 28, would you be ok to compile this and try out our latest development code? Compiling is pretty easy if you're familiar with general compiling practises: https://github.com/sqlitebrowser/sqlitebrowser/blob/master/BUILDING.md#centos--fedora-linux |
Ahhh, I just noticed in #1466 your mention that compiling didn't work for you. If that's still not working, would you be ok to cut-n-paste the error message bit here? |
My compile error for Fedora 28
|
My compile error on ubuntu 18.04 follow the
|
The error you're reporting on Fedora is the one from #1361 and still unsolved. The error on Ubuntu might be easy to fix by installing the cd path/to/sqlitebrowser
qmake
make Does that help? 😄 |
No, 'Custom' display format is not editable with following commit on Fedora 28.
Meanwhile, The |
Just for compiling on ubuntu1804, |
This adds a new display format for getting the local time (takes into account user time zone) from a Unix time (seconds from start of 1970 in UTC).
@n-arakawa I've just added the display format that you suggested to the master branch. You can download a tomorrow's nightly build or compile from the master branch. Can you try it and report if everything is in order? |
By the way, editing of display format is still not possible. We have the request #573, just in case someone wants to contribute the code. |
The 'Unix epoch to local time' display format works fine! As for "editing of display format", I hope have it to handle timestamp in milliseconds. Anyway, this issue has completed. |
Excellent. Good stuff all around. 😄 |
On macOS, this display format is not yet available 😉 https://download.sqlitebrowser.org/DB.Browser.for.SQLite-3.10.1.dmg
|
It'll be in any version >3.10.1, eg, one of the nightlies or the current Alpha/Beta release. |
Ok, thank you 😀 |
Details for the issue
I hope to have a preset "Display format" for "datetime(
key
, 'unixepoch', 'localtime')".When I select 'Unix epoch to date' as "Display format" and try to re-edit it,
the selection label becomes 'Custom' with text field of "datetime(
key
, 'unixepoch)".However the text field is not editable.
Useful extra information
I'm opening this issue because:
I'm using DB4S on:
I'm using DB4S version:
I have also:
The text was updated successfully, but these errors were encountered: