org-lms icon indicating copy to clipboard operation
org-lms copied to clipboard

Figure out a better way to set assignment due date times

Open titaniumbones opened this issue 6 years ago • 2 comments

Currently just hard-coded in the assingment posting functions. It could be extrapolated from the current environment/locale, though it would also be nice to manage daylight savings automatically.

Also, rightn ow due dates are always set to midnight. Would be nice to parse the DUE_AT and look for a time component. Timestamp parsing makes me feel sad and incompetent, though.

titaniumbones avatar Dec 11 '18 16:12 titaniumbones

fixed via e36d2fa467ad5f93770f54c14dd6593721e71dd0

titaniumbones avatar Sep 22 '19 17:09 titaniumbones

Reopening. The current code (recently updated) will fix a bug that this old codei ntroduced, in which dates would precess forward every time I posted the assignment (!) Fixed now, but still unable to set a due time in the due_at property. The problem has to do with timezone awareness in the ts- functions. I'm not yet sure how to manage it, though it feels like it should be fixable. look at the dox for ts.el

titaniumbones avatar Sep 22 '21 13:09 titaniumbones