#1208: AgaviTimeZoneDataParser doesn't support "-" as a time value
----------------------+-----------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: highest | Milestone: 1.0.2
Component: _OTHER_ | Version: 1.0.1
Severity: critical | Keywords:
Has_patch: 0 |
----------------------+-----------------------------------------------------
Throws an error when running the "olson" task:
{{{
BUILD FAILED
exception 'Exception' with message 'unknown time format "-"' in
/Users/dzuelke/Code/oss/agavi/branches/1.0_/src/date/AgaviTimeZoneDataParser.class.php:1030
Stack trace:
#0
/Users/dzuelke/Code/oss/agavi/branches/1.0_/src/date/AgaviTimeZoneDataParser.class.php(826):
AgaviTimeZoneDataParser->timeStrToSeconds('-')
#1
/Users/dzuelke/Code/oss/agavi/branches/1.0_/src/date/AgaviTimeZoneDataParser.class.php(129):
AgaviTimeZoneDataParser->parseRule(Array)
#2
/Users/dzuelke/Code/oss/agavi/branches/1.0_/src/date/AgaviTimeZoneDataParser.class.php(87):
AgaviTimeZoneDataParser->parseFile('/Users/dzuelke/...')
#3
/Users/dzuelke/Code/oss/agavi/branches/1.0_/etc/phing/AgaviOlsonCompileTask.php(69):
AgaviTimeZoneDataParser->parse('/Users/dzuelke/...')
#4 /opt/local/lib/php/phing/Task.php(253): AgaviOlsonCompileTask->main()
#5 /opt/local/lib/php/phing/Target.php(240): Task->perform()
#6 /opt/local/lib/php/phing/Target.php(263): Target->main()
#7 /opt/local/lib/php/phing/Project.php(702): Target->performTasks()
#8 /opt/local/lib/php/phing/Project.php(675):
Project->executeTarget('olson')
#9 /opt/local/lib/php/phing/Phing.php(541): Project->executeTargets(Array)
#10 /opt/local/lib/php/phing/Phing.php(170): Phing->runBuild()
#11 /opt/local/lib/php/phing/Phing.php(270): Phing::start(Array, NULL)
#12 /opt/local/lib/php/phing.php(37): Phing::fire(Array)
#13 {main}
}}}
http://article.gmane.org/gmane.comp.time.tz/3055:
As the "zic" manual page indicates, in the "SAVE" field "1" is
equivalent to "1:00" and "-" is equivalent to "0".
--
Ticket URL: <http://trac.agavi.org/ticket/1208>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets