merging 5.5.4 changes
This commit is contained in:
parent
aee1eda4fa
commit
d2e4f15073
3 changed files with 2666 additions and 2 deletions
|
|
@ -21,6 +21,9 @@
|
|||
https://some.server to work in a url field
|
||||
- Bugfix [ 852024 ] Can't copy a USS wobject (Thanks to Len Kranendonk)
|
||||
- Bugfix [ 849438 ] Adding Wobject Fails for Content Managers
|
||||
- Updated the Italian translation. (Thanks to Paolo Pigati.)
|
||||
- Updated the Italian translation. (Thanks to ProcoliX.)
|
||||
- Bugfix [ 870209 ] Calendar times thrown off by user's offset.
|
||||
|
||||
|
||||
5.5.3
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -634,7 +634,8 @@ sub textarea {
|
|||
|
||||
=head2 timeField ( name )
|
||||
|
||||
Returns the number of seconds since 00:00:00 on a 24 hour clock.
|
||||
Returns the number of seconds since 00:00:00 on a 24 hour clock. Note, this will adjust for the user's time offset in the reverse manner that the form field
|
||||
adjusts for it in order to make the times come out appropriately.
|
||||
|
||||
=over
|
||||
|
||||
|
|
@ -647,7 +648,7 @@ The name of the form variable to retrieve.
|
|||
=cut
|
||||
|
||||
sub timeField {
|
||||
return WebGUI::DateTime::timeToSeconds($session{form}{$_[0]});
|
||||
return WebGUI::DateTime::timeToSeconds($session{form}{$_[0]}-($session{user}{timeOffset}*3600));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue