Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Dates actually have their own handler method.  In 3.0 you can actually change 
this 
handler to provide custom formats.

I'll look into a better default handling for dates.  Currently I can't think of 
a 
good sensible default for Web scenarios, since it would need to be parsed in 
the 
browser to actually turn it into a javascript Date.

I may consider writing it as an ISO string, or add a few date settings to 
control 
format and timezone handling.

Original comment by [email protected] on 15 Nov 2008 at 4:26

  • Changed state: Accepted

from jsonexserializer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
I see, but I would recommend to change every default string <-> type conversion 
to be 
invariant first, then looking for the consequences (don't know what JavaScript 
would 
expect, but serializing it in a JavaScript consumable format surely is a good 
thing 
:)

A lot of paranoia pops up when serialization syntax depends on user-settings. 
Culture 
settings may even affect more subtle types like doubles :(



Original comment by [email protected] on 15 Nov 2008 at 4:46

from jsonexserializer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024

Original comment by [email protected] on 16 Nov 2008 at 5:47

  • Added labels: Milestone-Release3.0, Priority-Medium, Type-Defect

from jsonexserializer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Dates will use the InvariantCulture now and will be serialized into ISO format:
YYYY-MM-DDTHH:mm:ss.nnnnTZ

Original comment by [email protected] on 26 Jan 2009 at 2:02

  • Changed state: Coded

from jsonexserializer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
3.0 Release

Original comment by [email protected] on 26 Jan 2009 at 2:22

  • Changed state: Verified

from jsonexserializer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.