Opened 10 years ago

Closed 10 years ago

#333 closed defect (fixed)

Access date needs special handling in item pane for webpage item type

Reported by: dstillman Owned by: dstillman
Priority: major Milestone: 1.0 Beta 2
Component: interface Version: 1.0
Keywords: Cc:

Description

accessDate is stored as UTC and displayed with toLocaleString() but is editable as a regular field in webpage item type

Really it should have a date/time picker once it's available in XUL, but using strToDate() would probably work in the meantime

Change History (1)

comment:1 Changed 10 years ago by dstillman

  • Resolution set to fixed
  • Status changed from new to closed

(In [739]) Fixes #333, Access date needs special handling in item pane for webpage item type

  • Currently requires user to enter dates in SQL format if they want to change the access date, but at least it doesn't mangle the dates anymore
  • Uses new function ScholardammitZotero.Date.dateToSQL(Date date [, Boolean toUTC])
  • Utilities.lpad() now forces _string_ to a string so that .length exists
  • Unrelated: Item.save() now returns false if the item didn't change
Note: See TracTickets for help on using tickets.