[Kst] field with datetime formatted as ISO 8601

Peter Kümmel syntheticpp at gmx.net
Fri Feb 28 08:52:42 UTC 2014


On 28.02.2014 09:49, Tom Hodder wrote:
> On 28 February 2014 08:30, Peter Kümmel <syntheticpp at gmx.net <mailto:syntheticpp at gmx.net>> wrote:
>
>
>
>         It seemed to build and run OK from the repo, though its not obvious how to get the x-axis labelling to
>         understand its a
>         datetime field;
>         https://www.dropbox.com/s/__o2tmunjkt0upctb/kst-shot.png <https://www.dropbox.com/s/o2tmunjkt0upctb/kst-shot.png>
>
>
>     In the config dialog you define the format for reading.
>     And in the dialog for the x-axis there you can define the label format, e.g. dropping the date.
>
>
> So it looks like the datetime string "2014-02-22T21:59:59.291403" is converted to epoch seconds and stored in a vector;
> https://www.dropbox.com/s/kmvwt6ctgk9bxqm/Screenshot%20-%20280214%20-%2008%3A45%3A39.png
>
> however though I assume that interpreting that vector as standard C time should work;
> https://www.dropbox.com/s/lyzpi23p7y527k4/Screenshot%20-%20280214%20-%2008%3A42%3A58.png
>
> I'm not getting the formatting I want when I give it a formatted string to use;
> https://www.dropbox.com/s/dk0tp38p7g1tvf5/Screenshot%20-%20280214%20-%2008%3A42%3A37.png
>

Could you post some sample data?

>
>
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>



More information about the Kst mailing list