File:  [parser3project] / parser3 / tests / 338.html
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Oct 6 20:06:15 2023 UTC (2 years, 8 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
test for bug #1230 added

@main[]
$d[^date::create[2050-01-01]]

$d.year($d.year-1)
$d.month[-1]
$d.day(1)
$d.hour(25)
$d.minute(7e01)
$d.second(70.999)

^d.sql-string[]

should be 0: ^eval($d - $d)

^try-catch{$d.year(1e6)}
^try-catch{$d.ups[2]}
^try-catch{$d.year{2000}}

E-mail: