captbaritone / captbaritone/datejs

Unable to parseExact a string in a certain format

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-High Type-Defect
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
I commented here - http://code.google.com/p/datejs/wiki/FormatSpecifiers - but
realized that
may not have been the right place.

I'm trying to parseExact a date string like "yyyy-MM-ddTHH:mm:ss.000-05:00" but
the latter part
(-05:00) breaks if it's a different time zone (-06:00) is present. I've tried
using "P" (noted above) but
no joy. I'm using trunk. I can't change the format... google calendar RSS. :)

I've also tried using just "c", but the presence of milliseconds in the string
breaks it.

Anything I can try?

```

Original issue reported on code.google.com by `redeemer...@gmail.com` on 24 May 2008 at 3:30

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.