Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling timezones regardless of server TZ setting. #24

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open

Handling timezones regardless of server TZ setting. #24

wants to merge 57 commits into from

Commits on Aug 7, 2013

  1. Use node-time to set timezone at parse-time rather than setting .tz o…

    …n the date object, because I don't think that changes the nature of the underlying date object.
    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    0b62d04 View commit details
    Browse the repository at this point in the history
  2. Try using the setTimezone with true param.

    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    eaee1b5 View commit details
    Browse the repository at this point in the history
  3. I simply cannot get this to work properly. Trying to print out what t…

    …he parser is seeing for the date.
    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    2a4ce32 View commit details
    Browse the repository at this point in the history
  4. Trying to understand this date parsing.

    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    3feaff6 View commit details
    Browse the repository at this point in the history
  5. Maybe I was just not setting tz in the right spot.

    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    6f1dc5e View commit details
    Browse the repository at this point in the history
  6. Consolidate setTimezone call into addTZ method.

    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    5687776 View commit details
    Browse the repository at this point in the history
  7. Forgot true

    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    b113dd6 View commit details
    Browse the repository at this point in the history
  8. Use node-time as a drop-in replacement for Date and use the setTimezo…

    …ne method in addTZ function.
    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    fb61a8b View commit details
    Browse the repository at this point in the history
  9. Use node-time as a drop-in replacement for Date and use the setTimezo…

    …ne method in addTZ function. This uses node-time 0.9.2.
    Stuart Young committed Aug 7, 2013
    Configuration menu
    Copy the full SHA
    3648492 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2013

  1. If there is no time on the date, then I'm going to set a bAllDay bool…

    …ean on the node-time object. This makes it easier because JS dates always have a time, but in this case the time is not valuable.
    Stuart Young committed Aug 8, 2013
    Configuration menu
    Copy the full SHA
    16f8c49 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2013

  1. Adding some logging.

    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    23b1cbc View commit details
    Browse the repository at this point in the history
  2. Adding some logging.

    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    c5b0cb6 View commit details
    Browse the repository at this point in the history
  3. Ignore webstore stuff.

    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    2663f76 View commit details
    Browse the repository at this point in the history
  4. Adding more logging.

    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    4994946 View commit details
    Browse the repository at this point in the history
  5. Only call addTZ when the datetime value doesn't have a Z.

    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    b305520 View commit details
    Browse the repository at this point in the history
  6. That should do it.

    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    cb95cce View commit details
    Browse the repository at this point in the history
  7. That should do it.

    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    f4004fb View commit details
    Browse the repository at this point in the history
  8. Don't alter the timestamp if the date/time string is already in zulu …

    …time.
    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    90cbadf View commit details
    Browse the repository at this point in the history
  9. Something is dying along the way... Added skip param to tell node-tim…

    …e whether or not to convert the timestamp.
    Stuart Young committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    3e5902f View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2013

  1. Putting rrule inside handler because using a singleton means that eve…

    …ry recurring instance just gets concatenated if you're parsing multiple events in one pass.
    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    dc427cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfad0e3 View commit details
    Browse the repository at this point in the history
  3. Passing empty hash in first param.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    be18d97 View commit details
    Browse the repository at this point in the history
  4. Trying creating instance variable with caching off.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    2a77fe4 View commit details
    Browse the repository at this point in the history
  5. Try creating instance var.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    bbdac89 View commit details
    Browse the repository at this point in the history
  6. set _cache = false.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    582a2de View commit details
    Browse the repository at this point in the history
  7. set _cache = false after instantiating it properly.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    3764211 View commit details
    Browse the repository at this point in the history
  8. Leave caching on but empty _cache.all on each pass.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    2fab6c9 View commit details
    Browse the repository at this point in the history
  9. Leave caching on but empty _cache.all on each pass.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    286c889 View commit details
    Browse the repository at this point in the history
  10. Removing log line.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    053e774 View commit details
    Browse the repository at this point in the history
  11. I forked rrule in order to allow noCache param to be passed in with t…

    …he fromString method so the array of date instances that comes back with the .all() method doesn't include the cumulative dates during a large import.
    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    f9dc8bb View commit details
    Browse the repository at this point in the history
  12. That didn't work, so just going to pull in what RRule is doing and br…

    …eak it down into pieces.
    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    54c560c View commit details
    Browse the repository at this point in the history
  13. Reverting package.json

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    8a6adea View commit details
    Browse the repository at this point in the history
  14. Idiotic syntax errors.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    d25a26e View commit details
    Browse the repository at this point in the history
  15. Idiotic syntax errors.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    b030aa9 View commit details
    Browse the repository at this point in the history
  16. I simply don't know what's going on here.

    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    a7526a1 View commit details
    Browse the repository at this point in the history
  17. I'm going to stick the all() output to the rrule property on ical's o…

    …utput. This might work for me.
    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    7548aaa View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c535af4 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    d2fd912 View commit details
    Browse the repository at this point in the history
  20. Trying to create a unique RRule instance for each event in the data s…

    …tream.
    Stuart Young committed Aug 28, 2013
    Configuration menu
    Copy the full SHA
    d201cdc View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2014

  1. Moving to moment-timezone.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    811b7f2 View commit details
    Browse the repository at this point in the history
  2. Moving to moment-timezone.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    2b3706a View commit details
    Browse the repository at this point in the history
  3. Moving to moment-timezone.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    c43e972 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b44aa19 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8b252a8 View commit details
    Browse the repository at this point in the history
  6. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    41c90f2 View commit details
    Browse the repository at this point in the history
  7. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    2b4499a View commit details
    Browse the repository at this point in the history
  8. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    afc6944 View commit details
    Browse the repository at this point in the history
  9. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    c1561b1 View commit details
    Browse the repository at this point in the history
  10. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    6100b27 View commit details
    Browse the repository at this point in the history
  11. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    99dc9f5 View commit details
    Browse the repository at this point in the history
  12. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    65e9b67 View commit details
    Browse the repository at this point in the history
  13. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    bd6b5d9 View commit details
    Browse the repository at this point in the history
  14. Handling non-ISO formatted dates.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    11473d8 View commit details
    Browse the repository at this point in the history
  15. Just using a moment object instead of js Date.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    b5d78f6 View commit details
    Browse the repository at this point in the history
  16. Using js Date. Grr.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    a7aa567 View commit details
    Browse the repository at this point in the history
  17. Using js Date. Grr.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    6c75229 View commit details
    Browse the repository at this point in the history
  18. Using js Date. Grr.

    Stuart Young committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    ec84701 View commit details
    Browse the repository at this point in the history