Page 1 of 2

file date/time stamps

Posted: 07 Jun 2014, 02:43
by Ed_P
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.

Re: file date/time stamps

Posted: 09 Jun 2014, 22:22
by wread
@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! :)

Re: file date/time stamps

Posted: 09 Jun 2014, 23:41
by Ed_P
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?

Re: file date/time stamps

Posted: 10 Jun 2014, 01:15
by wread
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!

Re: file date/time stamps

Posted: 10 Jun 2014, 03:25
by Ed_P
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.

Re: file date/time stamps

Posted: 10 Jun 2014, 05:49
by fanthom
if you use 'timezone=' cheatcode then try to remove it this way porteus will stick to the 'localtime' (time from BIOS - same as windows).

Re: file date/time stamps

Posted: 10 Jun 2014, 06:12
by Ed_P
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.

Re: file date/time stamps

Posted: 10 Jun 2014, 11:32
by wread
@Ed_P
Try this module; Just put it in "modules" and reboot.

Good luck!

Re: file date/time stamps

Posted: 10 Jun 2014, 14:50
by Ed_P
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:

Re: file date/time stamps

Posted: 10 Jun 2014, 22:47
by brokenman
What is this black magic?

Re: file date/time stamps

Posted: 11 Jun 2014, 21:05
by Ed_P
brokenman wrote:What is this black magic?
Indeed. How will I change the time to EST this fall?

Re: file date/time stamps

Posted: 11 Jun 2014, 22:50
by wread
We are descendants from Slackware, aren't we :Yahoo!:

Re: file date/time stamps

Posted: 12 Jun 2014, 02:30
by Ed_P
Actually I am a descendent of Windows.

Re: file date/time stamps

Posted: 21 Jun 2014, 17:10
by Ed_P
Did you use the command timeconfig to create the module wread?

Re: file date/time stamps

Posted: 21 Jun 2014, 23:17
by wread
Configure date and time settings>New York

Then make a module>etc>localtime, that's all :)