"Month and Year" filter starts on the last day of the previous month. Is that a bug?

I've added a filter on my dashboard by clicking on "Add a filter", "Time" and "Month and Year". For the "Column to Filter on", I selected "Date" (format 2022-23-01). That works fine, except that it's counting the last day of the previous month. For example, if I select "October 2021" on the widget, the data goes from 2021-09-30 to 2021-10-30 . Am I doing anything wrong?

Hi @pedrekz
Post "Diagnostic Info" from Admin > Troubleshooting, and the database type you are querying.
And if it is SQL or GUI questions.

It's a GUI question: sum of a numerical value per day (date type)

"browser-info": {
"language": "pt-BR",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0",
"vendor": ""
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.15+10",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.15",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.15+10",
"os.name": "Linux",
"os.version": "4.14.291-218.527.amzn2.x86_64",
"user.language": "en",
"user.timezone": "GMT"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "13.7"
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.3.2"
"run-mode": "prod",
"version": {
"date": "2022-06-13",
"tag": "v0.43.3",
"branch": "release-x.43.x",
"hash": "c9c7ef0"
"settings": {
"report-timezone": "Brazil/DeNoronha"

Try upgrading to the latest release: https://github.com/metabase/metabase/releases/latest
Which database type are you querying?
Which column type are you using? Meaning the exact database column type.
You should use "America/Noronha" as timezone instead of "Brazil/DeNoronha" which is old backward compatible.

I'm querying Parquet files from S3 with Redshift spectrum

Columns are decimal(precision = 12, scale = 2) and date (date type)

Can't upgrade Metabase right now, but I'll do it as soon as I can. Thank you

@pedrekz The Redshift driver is currently using the legacy timezone code, since the driver was created before the JDBC driver had timezone support.
I have a feeling that you're hitting this issue:
https://github.com/metabase/metabase/issues/11643 - upvote by clicking :+1: on the first post

Solved by changing Metabese's timezone to GMT+0 on admin settings. Thanks!