Notices


Reply
Thread Tools
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#1
As my search for a native unix time converter app gave no hits... I decided to create one myself.

Features:
  • convert unix seconds to local time and GMT time
  • convert local time to unix seconds
  • copy unix time to clipboard
  • show current unix/local/GMT time
  • background info in help page
  • 24h and 12h display support

epoch-calc can be found in extras-devel.

Native version for SailfishOS can be found here: https://openrepos.net/content/ade/epoch-calc
Attached Images
 

Last edited by ade; 2015-01-03 at 22:32.
 

The Following 22 Users Say Thank You to ade For This Useful Post:
n900hacker's Avatar
Posts: 87 | Thanked: 75 times | Joined on Sep 2012 @ Brescia, Italy
#2
Thank you! I really needed this kind of app, really useful for me!
__________________
Nokia N900 64 GB @ ideal voltage (250-600 mHz)
Kernel-power v53
CSSU testing 21.2011.38-1 T Maemo10

Nokia N810 16 GB
CSSU Stable
Diablo Turbo
 

The Following 2 Users Say Thank You to n900hacker For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#3
Yeah, now I will even forget about that
~ $ date +%s
1383402937
~ $ date -d $(date +%s)
Wed Dec 11 05:41:00 CET 2019

~ $ date -D %s -d $(date +%s)
Sat Nov 2 15:58:51 CET 2013
~ $ date -d @$(date +%s)
Sat Nov 2 15:58:51 CET 2013
~ $ date -ud @$(date +%s)
Sat Nov 2 14:59:02 UTC 2013
~ $
even faster!

Nice thing, no need for online converters anymore.
Thanks.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-11-02 at 15:01. Reason: you see, already forgot ;)
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#4
Another useful tool like rwx-calc.
Thank you, installing now...
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#5
Yes, a nifty little app. Thanks, ade, this may come rather useful. Even having to pull 5MB worth of libraries to install a 10kB utility is worth it

I have a small "bugette" to report. In Local time, it says 2013-11-03 07:48:04 BST (British Summer Time) even though it is already winter time. Tome zone in my settings is GMT+0 and indeed, your app correctly shows the same values for Local and GMT.
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#6
Thanks for reporting. I also had a wrong current local timezone (CEST instead of CET), but failed to notice that.

Must be fixed in version 0.0.1-2 though.
 

The Following 2 Users Say Thank You to ade For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#7
Yes, 0.0.1-2 is fine. Thanks, that was quick!
 

The Following 2 Users Say Thank You to pichlo For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#8
Originally Posted by pichlo View Post
I have a small "bugette" to report. In Local time, it says 2013-11-03 07:48:04 BST (British Summer Time) even though it is already winter time.
You beat me to it

The only other small bug is with 12 hour clock.
The 12 on the hour side is at the top of the list.

Also switching between 12 hour and 24 hour clock doesn't update the time or the time selector until you have used it once.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#9
Originally Posted by sixwheeledbeast View Post
You beat me to it

The only other small bug is with 12 hour clock.
The 12 on the hour side is at the top of the list.
I don't think so..? I assume you are testing in AM/PM mode in this case. Then that is correct. In 24h mode, "00" should be on top.

Also switching between 12 hour and 24 hour clock doesn't update the time or the time selector until you have used it once.
That is true, but I did not want to make it too fancy. Besides, what are the odds you are using this app and you suddenly want to switch from 24h to 12h notation ? You had a case with the worldclock replacement, as it is used more often and the change can be done from within that program.

By the way: it is also not possible to select seconds in the time picker. That is the limitation of the default QMaemo5timePickSelector I used. If you set the unix seconds, you will see the corresponding seconds in the GMT time display below the time picker.
 

The Following 3 Users Say Thank You to ade For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#10
Originally Posted by ade View Post
I don't think so..? I assume you are testing in AM/PM mode in this case. Then that is correct.
Yes, AM/PM or 12 hour clock has the list "12,1,2,3,4,5,6,7,8,9,10,11"

Originally Posted by ade View Post
That is true, but I did not want to make it too fancy. Besides, what are the odds you are using this app and you suddenly want to switch from 24h to 12h notation ?
Agreed.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:56.