Commit Graph

5 Commits (1f76e1311235028b4c58ccae9db95ac2ea43cdfc)

Author SHA1 Message Date
nirenjan 1f76e13112 Tweak sdate script to print correct Julian date
The existing script was rounding the computed Julian date which was
resulting in the script printing the next day for 12 hours in the day,
i.e., a date of 456314.5 was being printed as 45631.5 (due to the
division by 10 and rounding up by the print statement). Now, the script
computes the number of days since the epoch (JD 2000000) and drops the
fractional portion, so it will print the correct Julian date stardate,
i.e., a date of 456314.5 will be printed correctly as 45631.4.
2013-01-21 16:51:46 -08:00
nirenjan 27c7871dfd Add script to set Xterm/Tmux pane title 2013-01-21 13:54:57 -08:00
nirenjan cb88dd975e Add stardate script based on Julian date 2013-01-21 12:00:38 -08:00
nirenjan e376d0eca1 Add Julian date script based on Unix time 2013-01-21 11:15:51 -08:00
nirenjan 71e6bff038 Move scripts to separate folder 2013-01-21 11:15:36 -08:00