Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-98

listenstore uses timestamps as float

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • data store
    • None

      This happened after migration to postgres. The default precision is float and we were using extract(epoch from ts) to obtain timestamps which had float precision. But, now we plan on passing datetime objects in listenstore instead of epochs.

      Once that is complete, this problem can be solved easily.

      Since the precision that user submits will also have seconds, hence it won't affect the functionality.

          Loading...
          Uploaded image for project: 'ListenBrainz'
          1. ListenBrainz
          2. LB-98

          listenstore uses timestamps as float

            • Icon: Bug Bug
            • Resolution: Fixed
            • Icon: Normal Normal
            • None
            • data store
            • None

              This happened after migration to postgres. The default precision is float and we were using extract(epoch from ts) to obtain timestamps which had float precision. But, now we plan on passing datetime objects in listenstore instead of epochs.

              Once that is complete, this problem can be solved easily.

              Since the precision that user submits will also have seconds, hence it won't affect the functionality.

                    Unassigned Unassigned
                    armalcolite Pinkesh Badjatiya
                    Votes:
                    0 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                      Created:
                      Updated:
                      Resolved:

                        Version Package

                          Unassigned Unassigned
                          armalcolite Pinkesh Badjatiya
                          Votes:
                          0 Vote for this issue
                          Watchers:
                          2 Start watching this issue

                            Created:
                            Updated:
                            Resolved:

                              Version Package