Ticket #166 (closed defect: duplicate)
development-full-load not working on other Locales
| Reported by: | antcooper | Owned by: | sean@… |
|---|---|---|---|
| Type: | defect | Priority: | high |
| Milestone: | Component: | Miscellaneous | |
| Version: | 5.0 | Severity: | normal |
| Keywords: | mode | Cc: |
Description
I wasn't having any luck setting my app to development-full-load, no matter what I did it just wasn't updating unless I added &fusebox.load=1 onto my URL, which was quite annoying when developing... so I thought I'd better have a look at fixing it.
Turns out that loading is determined by comparing dates on the circuit.xml files but as my Locale is "English (UK)" the parseDateTime function screws up.
parseDateTime(fuseboxFiles.dateLastModified)
Returns "{ts '2006-07-11 21:19:00'}" for "07/11/06 21:19" not "{ts '2006-11-07 21:19:00'}"
Suggested fix
Alter occurances of parseDateTime() to LSParseDateTime() in:
fuseboxApplication.cfc, 2 occurances on line 163
fuseboxCircuit.cfc, 2 occurances on line 110
I guess this is a hard one to test for outside the US ;-)
Cheers, Ant
