Google seem to have recently started sending the timestamps as strings instead of numbers, this causes issues in yakyak because it depends on them being numbers. For example, the unread counter no longer works for me. This PR fixes that by adding a new NumberField class to pblite that calls parseInt on the input.
Only a few of the timestamp fields are actually used, but to avoid issues I updated all of them to use the new NumberField class.
Google seem to have recently started sending the timestamps as strings instead of numbers, this causes issues in yakyak because it depends on them being numbers. For example, the unread counter no longer works for me. This PR fixes that by adding a new NumberField class to pblite that calls parseInt on the input. Only a few of the timestamp fields are actually used, but to avoid issues I updated all of them to use the new NumberField class.