file date/time stamps

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Ed_P
Contributor
Contributor
Posts: 3058
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

file date/time stamps

Post#1 by Ed_P » 07 Jun 2014, 02:43

The date/time stamp of files written to Windows readable volumes (NTFS, FAT32, FAT16) by Porteus appear to be GMT date/time when viewed in Windows systems' Windows Explorer.

=update=

Actually the difference is -4 hrs. A file created by Porteus at 1:00am shows as 9:00pm the day before. GMT/UTC would be -5 hrs.
Ed

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: file date/time stamps

Post#2 by wread » 09 Jun 2014, 22:22

@Ed_P:
My time stamps of files in Porteus show local time of creation.
My clock shows also local time.
When I hover the mouse over the clock, a popup shows local time and UTC correctly.

Hack until you get the same result and you are in.

Regards! :)
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
Ed_P
Contributor
Contributor
Posts: 3058
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: file date/time stamps

Post#3 by Ed_P » 09 Jun 2014, 23:41

Well, my BIOS shows my System Time as being 19:18.
Windows shows my time as being 7:17, UTC-0500 Eastern Time
Porteus shows my time as being 7:30 PM

This is a DIR listing of some of my files in Windows.

Code: Select all

 Volume in drive D is Data
 Volume Serial Number is 6B8B-F780

 Directory of D:\porteus\Guest

06/09/2014  07:23 PM    <DIR>          ..
06/09/2014  07:23 PM                 0 dir.txt
06/09/2014  07:23 PM    <DIR>          .
06/09/2014  10:44 AM               410 test.sh
06/09/2014  10:28 AM    <DIR>          Downloads
06/09/2014  10:26 AM           105,698 porteus-uefi-usb-installer-v3.X.sh
06/09/2014  10:26 AM               592 porteus-UEFI-tweak.txt
06/09/2014  10:26 AM               188 nukesdb.sh
06/09/2014  06:27 AM             1,467 porteus-uefi.sh
06/06/2014  08:15 PM               117 guestGuest.sh
06/06/2014  11:45 AM                84 removeUSB.sh
06/06/2014  11:43 AM             5,555 gdiskUSB.txt
06/04/2014  08:22 PM           105,083 porteus-uefi-usb-installer-v3.0.sh
06/04/2014  08:22 PM                80 games.sh
06/04/2014  12:28 PM             1,765 firefox-portable.txt
06/02/2014  09:11 PM               154 savedat2xzm.sh
06/02/2014  08:46 PM             1,082 restores.sh
06/02/2014  08:46 PM               800 backups.sh
06/02/2014  08:16 PM                88 uuid.sh
06/01/2014  09:09 PM             1,550 savedatspaceused.sh
This is an LS listing of some of the same files in Porteus.

Code: Select all

guest@porteus:~$ ls -c -lt /mnt/sda5/porteus/Guest
total 313
-rwxrwxrwx 1 root root    410 Jun  9 14:44 test.sh*
drwxrwxrwx 1 root root   4096 Jun  9 14:28 Downloads/
-rwxrwxrwx 1 root root 105698 Jun  9 14:26 porteus-uefi-usb-installer-v3.X.sh*
-rwxrwxrwx 1 root root    592 Jun  9 14:26 porteus-UEFI-tweak.txt*
-rwxrwxrwx 1 root root    188 Jun  9 14:26 nukesdb.sh*
lrwxrwxrwx 1 root root     52 Jun  9 14:26 en.dic -> /usr/share/dict/en.dic
lrwxrwxrwx 1 root root     46 Jun  9 14:26 boot.log -> /var/log/Xorg.0.log
-rwxrwxrwx 2 root root   1467 Jun  9 10:28 porteus-uefi.sh*
-rwxrwxrwx 1 root root     92 Jun  7 05:47 messages.sh*
-rwxrwxrwx 1 root root    117 Jun  7 00:15 guestGuest.sh*
-rwxrwxrwx 1 root root     84 Jun  6 19:37 removeUSB.sh*
-rwxrwxrwx 1 root root   5555 Jun  6 15:46 gdiskUSB.txt*
-rwxrwxrwx 1 root root 105083 Jun  5 00:22 porteus-uefi-usb-installer-v3.0.sh*
-rwxrwxrwx 1 root root     80 Jun  5 00:22 games.sh*
-rwxrwxrwx 2 root root   1765 Jun  4 16:28 firefox-portable.txt*
-rwxrwxrwx 1 root root    154 Jun  3 01:21 savedat2xzm.sh*
-rwxrwxrwx 1 root root   1082 Jun  3 00:47 restores.sh*
-rwxrwxrwx 1 root root    800 Jun  3 00:47 backups.sh*
-rwxrwxrwx 1 root root     88 Jun  3 00:18 uuid.sh*
-rwxrwxrwx 1 root root   1550 Jun  2 01:12 savedatspaceused.sh*
-rwxrwxrwx 1 root root    717 Jun  1 02:49 savedatremovewhfiles.sh*
The test.sh file shows as 10:44 AM in Windows, and as 14:44 in Porteus. The latter time is when I last saved the file.

Now, having a career in banking I like numbers to be consistent, across all OSs; Windows, OS X, iOS, Android, Windows Phone, Linux, whether amounts, dates or times.

Any other ideas?
Ed

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: file date/time stamps

Post#4 by wread » 10 Jun 2014, 01:15

You did not understand my post.

Please state what you get, when you hover the mouse over the clock. If you don't get it right, then your Porteus is not configured correctly.

Porteus is right, your configuration may be wrong, I meant.

Regards!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
Ed_P
Contributor
Contributor
Posts: 3058
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: file date/time stamps

Post#5 by Ed_P » 10 Jun 2014, 03:25

wread wrote:Please state what you get, when you hover the mouse over the clock.
Ok. I get a long banner just over the time that shows, at this point:

Monday, June 9, 2014 11:19 PM Local time zone must be set-- see zic manual page

If I right click on the time and click on Configure "Date and Time" or Configure Panel... I don't see anything relating to a Local time zone.

Do note I am referring to the time in the lower right hand corner of the desktop, not the clock in the upper right corner. Hovering over it with the mouse displays nothing.
Ed

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: file date/time stamps

Post#6 by fanthom » 10 Jun 2014, 05:49

if you use 'timezone=' cheatcode then try to remove it this way porteus will stick to the 'localtime' (time from BIOS - same as windows).
Please add [Solved] to your thread title if the solution was found.

User avatar
Ed_P
Contributor
Contributor
Posts: 3058
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: file date/time stamps

Post#7 by Ed_P » 10 Jun 2014, 06:12

fanthom wrote:if you use 'timezone=' cheatcode then try to remove it
??
Confused. Many timezones according to /usr/sbin/timeconfig. Do I use timezone=right/US/Eastern, posix/US/Eastern, Etc/GMT-5, America/New_York, US/Eastern, or ?? Many choices. And are you saying that I use it, boot with it, then remove it and reboot?

Sorry, but I don't understand what you want me to do.
Ed

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: file date/time stamps

Post#8 by wread » 10 Jun 2014, 11:32

@Ed_P
Try this module; Just put it in "modules" and reboot.

Good luck!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
Ed_P
Contributor
Contributor
Posts: 3058
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: file date/time stamps

Post#9 by Ed_P » 10 Jun 2014, 14:50

wread wrote:Try this module;
:Yahoo!: Image

I put it in my modules folder and activated it and it is working already.

Thank you Image wread. :beer:
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: file date/time stamps

Post#10 by brokenman » 10 Jun 2014, 22:47

What is this black magic?
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3058
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: file date/time stamps

Post#11 by Ed_P » 11 Jun 2014, 21:05

brokenman wrote:What is this black magic?
Indeed. How will I change the time to EST this fall?
Last edited by Ed_P on 12 Jun 2014, 02:29, edited 1 time in total.
Ed

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: file date/time stamps

Post#12 by wread » 11 Jun 2014, 22:50

We are descendants from Slackware, aren't we :Yahoo!:
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
Ed_P
Contributor
Contributor
Posts: 3058
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: file date/time stamps

Post#13 by Ed_P » 12 Jun 2014, 02:30

Actually I am a descendent of Windows.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 3058
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: file date/time stamps

Post#14 by Ed_P » 21 Jun 2014, 17:10

Did you use the command timeconfig to create the module wread?
Ed

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: file date/time stamps

Post#15 by wread » 21 Jun 2014, 23:17

Configure date and time settings>New York

Then make a module>etc>localtime, that's all :)
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply