Comments (16)
guys no it is not an issue
LocalDate and Instant have changed between JDK 8 and JDK 9 and up, you have to change your code (or use META-INF/versions), The precision for deserialization and serialization (0..9fractional nano) as well
https://blog.joda.org/2017/02/java-time-jsr-310-enhancements-java-9.html
Further more - locale's are not really enabled anymore by default, especially in module mode, so keep an eye out for that :
this is by design
from primefaces-extensions.
I will investigate.
from primefaces-extensions.
I wonder if it is locale
related? I am running it locally and its working fine for me? My browser is English United States locale since I live in the US.
from primefaces-extensions.
My browser is also set to US English as the default (I prefer it over Dutch online)... weird though that it works in production for me.
from primefaces-extensions.
So is it failing on localhost for you in the latest showcase?
from primefaces-extensions.
Yes, I assumed it was caused something changed in the showcase recently.
from primefaces-extensions.
I wonder if its a JDK issue with short
format?
<f:convertDateTime type="both" dateStyle="short" locale="en"/>
I am using JDK8.
from primefaces-extensions.
Ah, I'm on 11 by default. Let me see if it works with 8.
from primefaces-extensions.
We have seen this before with JDK11: primefaces/primefaces#5696
from primefaces-extensions.
It's indeed an issue with JDK 11.
from primefaces-extensions.
@GedMarc Yes, I meant that the issue in the showcase only occurs when the showcase is run with JDK 11. Thanks for pointing that out though. @melloware does this require any action? PF targets JDK 8, right?
from primefaces-extensions.
PF targets all versions IMO but LTS for sure (8, 11, 15/16?)
from primefaces-extensions.
8 / 11 /17 ?
I'm running PF on JDK 14 JLink build here (Mojarra 'ish) https://pfshowcase.guicedee.com/
I'll see if i can replicate and resolve, it will definitely need a multi-version jar though, you guys ok with that?
from primefaces-extensions.
mmm, please assist in replication - can't seem to or i've fixed in somewhere on my side already (will make the pr easier..)
from primefaces-extensions.
You can read the whole thread or check out @christophs78 debugging the problem: primefaces/primefaces#5696 (comment)
and since this conversion is happening inside f:convertDateTime
its counting on the JDK to be correct.
Especially if you use Locale en_GB
in OpenJDK 11 you will see the issue.
from primefaces-extensions.
For now I just fixed the examples to work in JDK8 or 11+
from primefaces-extensions.
Related Issues (20)
- ClockPicker: TODO List HOT 16
- ThemeAccentColorResource is not finding accent color anymore HOT 3
- New component: Apache EChart HOT 8
- New component: OTP / PIN input HOT 2
- SunEditor: Allow Untouched HTML Option HOT 3
- Document Viewer: Default Download Name if StreamedContent Name is null
- InputOtp: Remaining Features HOT 2
- InputPhone: Not respecting inputStyleClass
- New Component: Markdown Editor HOT 7
- KeyNote: Update Reveal.js HOT 1
- InputPhone: intl-tel-input 20.0.4 Breaking Changes HOT 1
- Core: Refactor minification
- SunEditor: Edit Link not working when inside Dialog HOT 5
- Layout: errors while using CSP and MOVE_SCRIPTS_TO_BOTTOM at the same time HOT 7
- InputPlace: Support Azure Maps API HOT 1
- SunEditor: 2.46.0
- InputPhone: Upgrade to v21.2.6+ HOT 8
- MorphiaLazyDataModel: Allow user to specify FindOptions and CountOptions
- Sheet: Context Menu Doesn't Display After Sheet Update HOT 8
- InputPlace: Autocomplete list hidden behind a dialog
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primefaces-extensions.