AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to General Announcements (New files...  <--  <--- Return to Home Page
   Networked Database  General Announcements (New files...   [1443 / 2001] RSS
 From   To   Subject   Date/Time 
Message   Warpslide    All   Re: Net 400 Hub Status   January 1, 2025
 10:00 AM *  

On 01 Jan 2025, Warpslide said the following...

 Wa> Silly me...  the binkd log doesn't include the year, e.g:
 Wa> + 31 Dec 23:18:10 [...]

 Wa> So I inject one with "date +%Y" which works great until we hit a new
 Wa> year...

There, so now instead of just blindly inserting "date +%Y" we now have:

if [ "${getpoll:5:3}" == "Dec" ] && [ "$(date +%b)" == "Jan" ]; then
  polltime="${getpoll:2:6} $(($(date +%Y) - 1)) ${getpoll:9:8}"
else
  polltime="${getpoll:2:6} $(date +%Y) ${getpoll:9:8}"
fi


Jay

... Never try to out-stubborn a cat

--- Mystic BBS v1.12 A49 2024/05/29 (Linux/64)
 * Origin: Northern Realms (618:400/23)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to General Announcements (New files...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0157 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2025 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.250224