Commit graph

86 commits

Author SHA1 Message Date
Colin Kuskie
7e8ae8fe9a Fix spacing issues with WebGUI::DateTime->webguiDate. 2011-07-04 12:15:58 -07:00
Doug Bell
731ae3801a add webgui to strftime conversion sub 2010-08-10 13:51:20 -05:00
Colin Kuskie
7866120459 Handle bad dates in datetime related form plugins. Fixes bug #11128
Also, better date parsing by _splitMysql and reformat Thingy.
2009-10-15 12:53:39 -07:00
Colin Kuskie
48b4d91231 Allow a bare MySQL date (no time) to be used in WebGUI::DateTime's constructor. 2009-10-06 16:48:50 -07:00
Colin Kuskie
eceeff448a undef and empty string default to now for WebGUI::DateTime construction. 2009-10-01 12:52:19 -07:00
Colin Kuskie
25b4a0b139 Fix multiple Date and DateTime bugs. bug #11079 and bug #11071 2009-09-30 16:50:08 -07:00
JT Smith
1b32ab4846 rfe: Extend DateTime for Week-Nrs (#9151) 2009-04-16 17:06:50 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Graham Knop
1e54cf0458 some comment cleanups 2008-09-15 21:51:46 +00:00
Graham Knop
dcb709fdf5 remove redundant sub 2008-05-27 23:06:09 +00:00
Graham Knop
4f0ea8d9ad fixed: Calendar date localization can be broken 2008-04-08 14:22:20 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
d9f2bcde69 fix typo in POD 2007-04-09 18:22:58 +00:00
Doug Bell
991aac998a fix: t::WebGUI::PseudoRequest now works properly
add: Added some additional vars to Calendar Week view
fix: WebGUI::DateTime now handles MySQL strings more robustly
2007-03-20 17:27:30 +00:00
Doug Bell
d29de5f7f9 fix: Calendar Update Feeds Activity now handles iCalendar "DURATION" field
fix: Various potential bugs in WebGUI::DateTime due to inheritence from DateTime
2007-02-14 23:13:40 +00:00
Doug Bell
d6be45a1c0 Updated docs for AssetVersioning, WebGUI::DateTime
Added some Help/i18n for Calendar
Fixed some Asset::Event formatting issues
Step one in fixing AssetExportHtml
2007-02-01 16:36:48 +00:00
Colin Kuskie
2180b9bf91 Added a test to see if clone would duplicate the session. It does.
Subclassed DateTime's from_object method, which was secretely deleting
the internal session variable.  There is probably a more robust way to
do this, such as by "...implementing the utc_rd_values() method as the
from_object docs suggest.
Finished fixing the bug with time zone errors in editing an event.
2007-01-19 06:25:43 +00:00
Colin Kuskie
17fac4a7cb New methods in WebGUI::DateTime that clearly state how they handle timezones.
The standard is everything going into the DB is in UTC.  Timezones have to be
manually handled after being fetched.
Added a test for the new methods and for object construction.
Changed Calendar and Event Assets to use the new methods.
Interim checkin to get some debug help from Doug.
2007-01-19 05:16:57 +00:00
Colin Kuskie
f6a956c447 mark toMysql as deprecated 2007-01-19 00:28:42 +00:00
Doug Bell
224b2c08d1 More WebGUI::DateTime documentation updates. 2006-12-23 02:26:12 +00:00
Doug Bell
cdaef9d5e3 Multiple fixes in the code Doug wrote for 7.3 - Calendar / DateTime / Event
- fix: Calendar now reports proper product ID on iCal feed
 - fix: Calendar now tries to use the feed ID when sending uid of event on iCal
        feeds (to prevent over-propagation of events shared between calendars).
 - fix: Bug in AssetLineage->getLineage documentation.
 - rfe: Event now has a template var to toggle if an event only lasts one day
 - rfe: WebGUI::DateTime->toMysql now automatically adjusts to UTC. NOTE:
        toMysqlDate and toMysqlTime do NOT adjust for timezones. If you are 
	using them you must adjust manually.
 - fix: Bug in WebGUI::DateTime documentation
 - fix: Calendar default date of "first event" or "last event" now works.
 - fix: Calendar now handles Events that have ' in titles appropriately.
 - rfe: Added a "dateSpan" Event template variable that will show a properly
        formatted date/time span depending on how the event's start and end are.
2006-12-23 02:22:02 +00:00
Doug Bell
b55266e821 Tentative final Calendar beta for testing. 2006-12-06 08:02:42 +00:00
Doug Bell
d805a6a310 Additional features in preparation for final checkin of Calendar rewrite. 2006-12-01 22:26:09 +00:00
JT Smith
9520b4ce48 migrating datetime api for session 2006-01-10 17:06:41 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
JT Smith
a16b470dd4 - Fixed a problem where profile data would be mixed between the current user
and the user your viewing the profile of.
2005-12-16 17:33:48 +00:00
JT Smith
6944fe3316 - fix [ 1381694 ] Unable to reset votes on poll
- fix [ 1381309 ] FormParam macro returns always undef
 - fix [ 1379595 ] http proxy broken
 - fix [ 1379060 ] Unable to view subscription codes
2005-12-16 16:28:21 +00:00
Colin Kuskie
752a8669c0 bugfix, SF#1381551 for non-english dates
updated documentation for Post(new template vars)
and ZipArchive(moved file add/edit related help from template to add/edit)
2005-12-16 00:27:44 +00:00
JT Smith
f0d2ec3481 more time zone problems 2005-12-03 23:41:00 +00:00
JT Smith
731a9ef29e time zone problem 2005-12-03 23:24:52 +00:00
Matthew Wilson
6925fb07d4 removing what looks like debugging code. 2005-11-28 14:56:11 +00:00
Matthew Wilson
ed40193555 fix scenarios where it's supposed to parse only dates. 2005-11-19 22:41:02 +00:00
Matthew Wilson
fec3edd516 fixed form error. 2005-11-04 05:57:11 +00:00
JT Smith
8ac8530227 now using DateTime instead of Date::Manip 2005-11-02 09:37:49 +00:00
JT Smith
842eb4a331 - Fixed a bug in setToEpoch that caused dates to be improperly formatted.
- Fixed a problem with the slide panel where the links would sometimes take
   the properties of the style.
2005-09-24 14:54:20 +00:00
JT Smith
5efbd4a709 - The export system now attempts to create the export path if it doesn't
already exist.
 - fix [ 1287741 ] 6.7.3 Cannot insert a WebGUI collateral image in IE.
 - fix [ 1293163 ] Error when using Syndication
 - fix [ 1295718 ] Moderating submissions/posts is broken
 - fix [ 1288770 ] Couldn't call method www_view on asset
 - fix [ 1278672 ] Timezones does not still not work properly in webgui
2005-09-21 20:04:15 +00:00
JT Smith
0dd6b7b660 bug fixes 2005-09-09 19:30:28 +00:00
JT Smith
a93a2d05d1 - fix [ 1225432 ] plainblack.com: print is broken
- fix [ 1249882 ] Make page printable in RWG broken
 - fix [ 1255313 ] r_printable includes index.pl sometimes
2005-08-23 20:58:37 +00:00
JT Smith
55c709a051 updated copyright 2005-02-07 00:52:47 +00:00
JT Smith
d47830aceb merging 6.2.10 and 6.2.11 changes 2005-01-28 22:19:39 +00:00
JT Smith
b985eec1b1 fixing bugs
preparing for 6.2.7 bugfix cycle
2004-10-03 19:47:25 +00:00
JT Smith
eeecbe8afb bugfixes and preparing for 6.2.3 release 2004-09-16 20:36:17 +00:00
JT Smith
2b6eb201a9 changed POD formatting 2004-09-14 02:22:38 +00:00
JT Smith
c866d00c1b changed company name 2004-09-03 17:01:59 +00:00
JT Smith
a7e9ffb440 replaced Date::Calc with Date::Manip 2004-08-30 23:05:03 +00:00