1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/kwebwatch/files/patch-aj
Steve Price 530754aa29 Adding kwebwatch version 0.72.
Monitors your favorite web pages and notifies you of updates.

PR:		19621
Submitted by:	Mario S F Ferreira <lioux@linf.unb.br>
2000-07-10 03:56:18 +00:00

20 lines
975 B
Plaintext

--- kwebwatch/utils.h.orig Sat Jul 1 03:35:28 2000
+++ kwebwatch/utils.h Sat Jul 1 03:44:47 2000
@@ -37,10 +37,14 @@
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
const char* const timechoices[] = { "6 hours", "24 hours", "12 hours", "3 hours",
- "1 hour", "30 minutes", "10 minutes", 0 };
+ "1 hour", "30 minutes", "10 minutes",
+ "1 week", "1 month", "3 months",
+ "6 months", "1 year", 0 };
const int time_in_seconds[] = { 6*60*60, 24*60*60, 12*60*60,
- 3*60*60, 60*60, 30*60, 10*60 };
+ 3*60*60, 60*60, 30*60, 10*60,
+ 7*24*60*60, 30*24*60*60, 3*30*24*60*60,
+ 6*30*24*60*60, 365*24*60*60 };
QDateTime* GetDateTimeFromString( QString str );
QString StripTime( QDateTime dt );